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

Function CmdBreakpointClear

source/Debugger/Debug.cpp:1956–1971  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

1954
1955//===========================================================================
1956Update_t CmdBreakpointClear (int nArgs)
1957{
1958 if (!g_nBreakpoints)
1959 return _BP_InfoNone();
1960
1961 if (!nArgs)
1962 {
1963 _BWZ_RemoveAll( g_aBreakpoints, MAX_BREAKPOINTS, g_nBreakpoints );
1964 }
1965 else
1966 {
1967 _BWZ_ClearViaArgs( nArgs, g_aBreakpoints, MAX_BREAKPOINTS, g_nBreakpoints );
1968 }
1969
1970 return UPDATE_DISASM | UPDATE_BREAKPOINTS | UPDATE_CONSOLE_DISPLAY;
1971}
1972
1973//===========================================================================
1974Update_t CmdBreakpointDisable (int nArgs)

Callers

nothing calls this directly

Calls 3

_BP_InfoNoneFunction · 0.85
_BWZ_RemoveAllFunction · 0.85
_BWZ_ClearViaArgsFunction · 0.85

Tested by

no test coverage detected