| 232 | |
| 233 | |
| 234 | bool DbgEngTTDAdapter::Quit() |
| 235 | { |
| 236 | m_aboutToBeKilled = true; |
| 237 | m_lastOperationIsStepInto = false; |
| 238 | if (!this->m_debugClient) |
| 239 | return false; |
| 240 | |
| 241 | // I am not sure why TerminateProcesses() would not work. It just let the target run freely till the end of the |
| 242 | // trace and not terminating the process at all. |
| 243 | if (this->m_debugClient->TerminateCurrentProcess() != S_OK) |
| 244 | return false; |
| 245 | |
| 246 | m_debugClient->ExitDispatch(reinterpret_cast<PDEBUG_CLIENT>(m_debugClient)); |
| 247 | return true; |
| 248 | } |
| 249 | |
| 250 | |
| 251 | DbgEngTTDAdapterType::DbgEngTTDAdapterType() : DebugAdapterType("DBGENG_TTD (BETA)") {} |
nothing calls this directly
no outgoing calls
no test coverage detected