| 2939 | } |
| 2940 | |
| 2941 | void 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 |
no test coverage detected