MCPcopy Create free account
hub / github.com/AutoHotkey/AutoHotkey / Exit

Method Exit

source/Debugger.cpp:2287–2294  ·  view source on GitHub ↗

Debugger::Exit Gracefully end debug session. Called on script exit. Also called by "detach" DBGp command.

Source from the content-addressed store, hash-verified

2285// Gracefully end debug session. Called on script exit. Also called by "detach" DBGp command.
2286//
2287void Debugger::Exit(ExitReasons aExitReason, char *aCommandName)
2288{
2289 if (mSocket == INVALID_SOCKET)
2290 return;
2291 // Don't care if it fails as we may be exiting due to a previous failure.
2292 SendContinuationResponse(aCommandName, "stopped", aExitReason == EXIT_ERROR ? "error" : "ok");
2293 Disconnect();
2294}
2295
2296int Debugger::FatalError(LPCTSTR aMessage)
2297{

Callers 1

TerminateAppMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected