MCPcopy Create free account
hub / github.com/Norbyte/ositools / GlobalBreakpointInServerThread

Method GlobalBreakpointInServerThread

OsiInterface/Debugger.cpp:860–879  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

858 }
859
860 void Debugger::GlobalBreakpointInServerThread(GlobalBreakpointReason reason)
861 {
862 if (debuggingDisabled_) return;
863
864 Debug("Debugger::GlobalBreakpointInServerThread(): Reason %d", reason);
865 {
866 std::unique_lock<std::mutex> lk(breakpointMutex_);
867 isPaused_ = true;
868 }
869
870 messageHandler_.SendGlobalBreakpointTriggered(reason);
871
872 {
873 std::unique_lock<std::mutex> lk(breakpointMutex_);
874 breakpointCv_.wait(lk, [this]() { return !this->isPaused_; });
875 }
876
877 Debug("Continuing from breakpoint.");
878 ServerThreadReentry();
879 }
880
881 void Debugger::PushFrame(CallStackFrame const & frame)
882 {

Callers

nothing calls this directly

Calls 2

DebugFunction · 0.85

Tested by

no test coverage detected