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

Method OnMessageOutput

Source/cmDebuggerAdapter.cxx:447–456  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

445}
446
447void 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
458void cmDebuggerAdapter::ClearStepRequests()
459{

Callers 3

DisplayStatusMethod · 0.80
DisplayMessageMethod · 0.80
cmMessageCommandFunction · 0.80

Calls 5

RaiseExceptionIfAnyMethod · 0.80
has_valueMethod · 0.80
GetIdMethod · 0.45
sendMethod · 0.45
WaitMethod · 0.45

Tested by

no test coverage detected