| 445 | } |
| 446 | |
| 447 | void cmDebuggerAdapter::OnMessageOutput(MessageType t, std::string const& text) |
| 448 | { |
| 449 | cm::optional<dap::StoppedEvent> stoppedEvent = |
| 450 | ExceptionManager->RaiseExceptionIfAny(t, text); |
| 451 | if (stoppedEvent.has_value()) { |
| 452 | stoppedEvent->threadId = DefaultThread->GetId(); |
| 453 | Session->send(*stoppedEvent); |
| 454 | ContinueSem->Wait(); |
| 455 | } |
| 456 | } |
| 457 | |
| 458 | void cmDebuggerAdapter::ClearStepRequests() |
| 459 | { |
no test coverage detected