Lines Matching +defs:start +defs:file +defs:process
990 // scrolling area. The region is defined by the index of the start and end lines
991 // of the region. The start and end lines may be equal, in which case, the
994 int start;
997 ScrollContext(int line) : start(line), end(line) {}
998 ScrollContext(int _start, int _end) : start(_start), end(_end) {}
1001 start += offset;
1363 FileSpec file = GetResolvedFileSpec();
1364 if (!FileSystem::Instance().Exists(file)) {
1368 if (FileSystem::Instance().IsDirectory(file)) {
1369 SetError("Not a file!");
1406 FileSpec file = GetResolvedFileSpec();
1407 if (!FileSystem::Instance().Exists(file)) {
1411 if (!FileSystem::Instance().IsDirectory(file)) {
1762 if (context.start == 1)
1763 context.start--;
2316 // set and false is returned. This method is usually called at the start of an
2541 if (context.start == GetErrorHeight())
2542 context.start = 0;
2561 if (context.start < m_first_visible_line) {
2562 m_first_visible_line = context.start;
2871 DetachOrKillProcessFormDelegate(Process *process) : m_process(process) {
2872 SetError("There is a running process, either detach or kill it.");
2875 AddBooleanField("Keep process stopped when detaching.", false);
2886 SetError("Failed to kill process.");
2895 SetError("Failed to detach from process.");
2918 m_wait_for_field = AddBooleanField("Wait for process to launch.", false);
2971 Process *process = exe_ctx.GetProcessPtr();
2972 if (!(process && process->IsAlive()))
2976 FormDelegateSP(new DetachOrKillProcessFormDelegate(process));
3050 SetError("Attached sucessfully but target has no process.");
3181 SetError("Unknown core file format!");
3187 SetError("Unknown core file format!");
3550 Process *process = exe_ctx.GetProcessPtr();
3551 if (!(process && process->IsAlive()))
3555 FormDelegateSP(new DetachOrKillProcessFormDelegate(process));
3610 SetError("Launched successfully but target has no process!");
4296 // to receive async process events while in this loop.
4488 // The process stop ID when the children were calculated.
4611 // skipping drawing of the threads tree if there is no running process.
5190 FormatEntity::Parse("process ${process.id}{, name = ${process.name}}",
5203 ProcessSP process = GetProcess();
5204 if (!process)
5207 if (StateIsRunningState(process->GetState()))
5324 Process *process = GetProcess();
5329 address.Dump(&stream, process, Address::DumpStyleResolvedDescription,
5384 Process *process = GetProcess();
5387 address.Dump(&address_stream, process, Address::DumpStyleLoadAddress,
5911 Process *process = exe_ctx.GetProcessPtr();
5915 if (process) {
5916 StateType state = process->GetState();
5995 Process *process = exe_ctx.GetProcessPtr();
5996 if (process && process->IsAlive())
5999 // Update the values with an empty list if there is no process or the
6000 // process isn't alive anymore
6418 Process *process = exe_ctx.GetProcessPtr();
6419 if (process && process->IsAlive() &&
6420 StateIsStoppedState(process->GetState(), true))
6430 Process *process = exe_ctx.GetProcessPtr();
6431 if (process && process->IsAlive() &&
6432 StateIsStoppedState(process->GetState(), true)) {
6446 Process *process = exe_ctx.GetProcessPtr();
6447 if (process && process->IsAlive() &&
6448 StateIsStoppedState(process->GetState(), true))
6483 Process *process = exe_ctx.GetProcessPtr();
6484 if (process && process->IsAlive() &&
6485 StateIsStoppedState(process->GetState(), true))
6486 process->Resume();
6495 Process *process = exe_ctx.GetProcessPtr();
6496 if (process && process->IsAlive())
6497 process->Destroy(false);
6506 Process *process = exe_ctx.GetProcessPtr();
6507 if (process && process->IsAlive())
6508 process->Halt();
6518 Process *process = exe_ctx.GetProcessPtr();
6519 if (process && process->IsAlive())
6520 process->Detach(menu.GetIdentifier() ==
6527 // Populate the menu with all of the threads if the process is stopped
6533 Process *process = exe_ctx.GetProcessPtr();
6534 if (process && process->IsAlive() &&
6535 StateIsStoppedState(process->GetState(), true)) {
6541 ThreadList &threads = process->GetThreadList();
6737 Process *process = exe_ctx.GetProcessPtr();
6743 if (process) {
6744 const StateType state = process->GetState();
6745 window.Printf("Process: %5" PRIu64 " %10s", process->GetID(),
6763 const char *exit_desc = process->GetExitDescription();
6764 const int exit_status = process->GetExitStatus();
6805 {'c', "Continue process"},
6806 {'D', "Detach with process suspended"},
6824 Process *process = exe_ctx.GetProcessPtr();
6828 if (process) {
6829 StateType state = process->GetState();
6846 const bool process_alive = process->IsAlive();
6862 const uint32_t stop_id = process ? process->GetStopID() : 0;
6899 // Same file, nothing to do, we should either have the lines or
6900 // not (source file missing)
7336 m_file_sp->GetSupportFile()->GetSpecOnly(), // Source file
7470 // Source file breakpoint.
7497 m_file_sp->GetSupportFile()->GetSpecOnly(), // Source file