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

Method Wait

core/adapters/dbgengadapter.cpp:1136–1143  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1134}
1135
1136bool DbgEngAdapter::Wait(std::chrono::milliseconds timeout)
1137{
1138 std::memset(&DbgEngAdapter::ProcessCallbackInfo.m_lastBreakpoint, 0, sizeof(DbgEngAdapter::ProcessCallbackInfo.m_lastBreakpoint));
1139 std::memset(&DbgEngAdapter::ProcessCallbackInfo.m_lastException, 0, sizeof(DbgEngAdapter::ProcessCallbackInfo.m_lastException));
1140
1141 const auto wait_result = this->m_debugControl->WaitForEvent(0, INFINITE);
1142 return wait_result == S_OK;
1143}
1144
1145std::unordered_map<std::string, DebugRegister> DbgEngAdapter::ReadAllRegisters()
1146{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected