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

Function ClearTempBreakpoints

source/Debugger/Debug.cpp:1152–1166  ·  view source on GitHub ↗

Stepping

Source from the content-addressed store, hash-verified

1150
1151// Stepping
1152void ClearTempBreakpoints ()
1153{
1154 for (int iBreakpoint = 0; iBreakpoint < MAX_BREAKPOINTS; iBreakpoint++)
1155 {
1156 Breakpoint_t *pBP = &g_aBreakpoints[iBreakpoint];
1157
1158 if (! _BreakpointValid( pBP ))
1159 continue;
1160
1161 if (pBP->bHit && pBP->bTemp)
1162 _BWZ_RemoveOne(g_aBreakpoints, iBreakpoint, g_nBreakpoints);
1163
1164 pBP->bHit = false;
1165 }
1166}
1167
1168static void DebugEnterStepping()
1169{

Callers 2

DebugEnterSteppingFunction · 0.85
DebugExitDebuggerFunction · 0.85

Calls 2

_BreakpointValidFunction · 0.85
_BWZ_RemoveOneFunction · 0.85

Tested by

no test coverage detected