MCPcopy Create free account
hub / github.com/Vector35/debugger / DetachAndWait

Method DetachAndWait

core/debuggercontroller.cpp:875–892  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

873
874
875void DebuggerController::DetachAndWait()
876{
877 bool locked = false;
878 if (m_targetControlMutex.try_lock())
879 locked = true;
880
881 if (!m_state->IsConnected())
882 return;
883
884 // TODO: return whether the operation is successful
885 ExecuteAdapterAndWait(DebugAdapterDetach);
886
887 // There is no need to notify a detached event at this point, since the detach event is already processed
888 // by all the callback
889
890 if (locked)
891 m_targetControlMutex.unlock();
892}
893
894
895void DebuggerController::Quit()

Callers

nothing calls this directly

Calls 1

IsConnectedMethod · 0.45

Tested by

no test coverage detected