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

Method FatalError

source/Debugger.cpp:2296–2306  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2294}
2295
2296int Debugger::FatalError(LPCTSTR aMessage)
2297{
2298 g_Debugger.Disconnect();
2299
2300 if (IDNO == MessageBox(g_hWnd, aMessage, g_script.mFileSpec, MB_YESNO | MB_ICONSTOP | MB_SETFOREGROUND | MB_APPLMODAL))
2301 {
2302 // This might not exit, depending on OnExit:
2303 g_script.ExitApp(EXIT_CLOSE);
2304 }
2305 return DEBUGGER_E_INTERNAL_ERROR;
2306}
2307
2308const char *Debugger::sBase64Chars = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";
2309

Callers

nothing calls this directly

Calls 2

DisconnectMethod · 0.80
ExitAppMethod · 0.80

Tested by

no test coverage detected