MCPcopy Create free account
hub / github.com/Vector35/debugger / BreakInto

Method BreakInto

core/adapters/lldbadapter.cpp:1069–1084  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1067
1068
1069bool LldbAdapter::BreakInto()
1070{
1071 if ((m_process.GetState() != lldb::eStateRunning) && (m_process.GetState() != lldb::eStateStepping))
1072 {
1073 DebuggerEvent event;
1074 event.type = ErrorEventType;
1075 event.data.errorData.shortError = "pause failed";
1076 event.data.errorData.error = fmt::format("LLDB: pause failed, process state is not running");
1077 PostDebuggerEvent(event);
1078 return false;
1079 }
1080
1081 // Since we are in Sync mode, if we call m_process.Stop(), it will hang
1082 m_process.SendAsyncInterrupt();
1083 return true;
1084}
1085
1086
1087bool LldbAdapter::Go()

Callers 1

ExecuteAdapterAndWaitMethod · 0.45

Calls 1

GetStateMethod · 0.80

Tested by

no test coverage detected