mirror of
https://github.com/AppleWin/AppleWin.git
synced 2024-06-04 04:29:34 +00:00
Debugger: on DebugInitialize() reset counts for BPs, Watches & ZP pointers.
. fixes an issue when BPs set, do a VM restart (eg. change h/w config), and it was STEPPING when no BPs were set!
This commit is contained in:
parent
5e06ddaa94
commit
387b66d213
|
@ -8692,8 +8692,11 @@ void DebugInitialize ()
|
||||||
|
|
||||||
// CLEAR THE BREAKPOINT AND WATCH TABLES
|
// CLEAR THE BREAKPOINT AND WATCH TABLES
|
||||||
memset( g_aBreakpoints , 0, MAX_BREAKPOINTS * sizeof(Breakpoint_t));
|
memset( g_aBreakpoints , 0, MAX_BREAKPOINTS * sizeof(Breakpoint_t));
|
||||||
|
g_nBreakpoints = 0;
|
||||||
memset( g_aWatches , 0, MAX_WATCHES * sizeof(Watches_t) );
|
memset( g_aWatches , 0, MAX_WATCHES * sizeof(Watches_t) );
|
||||||
|
g_nWatches = 0;
|
||||||
memset( g_aZeroPagePointers, 0, MAX_ZEROPAGE_POINTERS * sizeof(ZeroPagePointers_t));
|
memset( g_aZeroPagePointers, 0, MAX_ZEROPAGE_POINTERS * sizeof(ZeroPagePointers_t));
|
||||||
|
g_nZeroPagePointers = 0;
|
||||||
|
|
||||||
// Load Main, Applesoft, and User Symbols
|
// Load Main, Applesoft, and User Symbols
|
||||||
g_bSymbolsDisplayMissingFile = false;
|
g_bSymbolsDisplayMissingFile = false;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user