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

Method Quit

core/adapters/dbgengttdadapter.cpp:234–248  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

232
233
234bool 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
251DbgEngTTDAdapterType::DbgEngTTDAdapterType() : DebugAdapterType("DBGENG_TTD (BETA)") {}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected