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

Function PrintStopReason

cli/main.cpp:310–318  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

308
309
310void PrintStopReason(DbgRef<DebuggerController> controller, DebugStopReason reason)
311{
312 if (reason == ProcessExited)
313 {
314 Log::print<Log::Info>("Exited with code: {}\n", controller->GetExitCode());
315 return;
316 }
317 Log::print<Log::Info>("Stopped: {}\n", controller->GetDebugStopReasonString(reason));
318}
319
320
321int main(int argc, const char* argv[])

Callers 1

mainFunction · 0.85

Calls 2

GetExitCodeMethod · 0.45

Tested by

no test coverage detected