| 1134 | } |
| 1135 | |
| 1136 | bool 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 | |
| 1145 | std::unordered_map<std::string, DebugRegister> DbgEngAdapter::ReadAllRegisters() |
| 1146 | { |
nothing calls this directly
no outgoing calls
no test coverage detected