MCPcopy Create free account
hub / github.com/AppleWin/AppleWin / DebugExitDebugger

Function DebugExitDebugger

source/Debugger/Debug.cpp:8948–8963  ·  view source on GitHub ↗

===========================================================================

Source from the content-addressed store, hash-verified

8946
8947//===========================================================================
8948void DebugExitDebugger ()
8949{
8950 ClearTempBreakpoints(); // make sure we remove temp breakpoints before checking
8951 if (g_nBreakpoints == 0 && g_hTraceFile == NULL)
8952 {
8953 DebugEnd();
8954 return;
8955 }
8956
8957 // Still have some BPs set or tracing to file, so continue single-stepping
8958
8959 if (!g_bLastGoCmdWasFullSpeed)
8960 CmdGoNormalSpeed(0);
8961 else
8962 CmdGoFullSpeed(0);
8963}
8964
8965//===========================================================================
8966

Callers 1

ProcessButtonClickMethod · 0.85

Calls 4

ClearTempBreakpointsFunction · 0.85
DebugEndFunction · 0.85
CmdGoNormalSpeedFunction · 0.85
CmdGoFullSpeedFunction · 0.85

Tested by

no test coverage detected