MCPcopy Create free account
hub / github.com/Kitware/CMake / StopDebuggerIfNeeded

Method StopDebuggerIfNeeded

Source/cmake.cxx:2941–2952  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2939}
2940
2941void cmake::StopDebuggerIfNeeded(int exitCode)
2942{
2943 if (!this->GetDebuggerOn()) {
2944 return;
2945 }
2946
2947 // The debug adapter may have failed to start (e.g. invalid pipe path).
2948 if (DebugAdapter) {
2949 DebugAdapter->ReportExitCode(exitCode);
2950 DebugAdapter.reset();
2951 }
2952}
2953
2954#endif
2955

Callers 1

do_cmakeFunction · 0.80

Calls 3

GetDebuggerOnMethod · 0.95
ReportExitCodeMethod · 0.80
resetMethod · 0.45

Tested by

no test coverage detected