MCPcopy Create free account
hub / github.com/chigraph/chigraph / terminate

Method terminate

libchigraphdebugger/src/Debugger.cpp:60–75  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

58Debugger::~Debugger() { lldb::SBDebugger::Terminate(); }
59
60Result Debugger::terminate() {
61 Result res;
62
63 if (isAttached()) {
64 auto err = mProcess.Kill();
65
66 if (err.Fail()) {
67 res.addEntry("EUKN", "Failed to terminate process",
68 {{"Error Code", err.GetError()}, {"Error String", err.GetCString()}});
69
70 return res;
71 }
72 }
73
74 return res;
75}
76
77Result Debugger::processContinue() {
78 Result res;

Callers 1

DebuggerTests.cppFile · 0.80

Calls 1

addEntryMethod · 0.80

Tested by

no test coverage detected