1
0
Fork 0

DBG: clear history before exit breakpoint

This commit is contained in:
Matthijs Lavrijsen 2021-03-18 16:49:01 +01:00
parent d5e265a501
commit 6092acd0d0
No known key found for this signature in database
GPG Key ID: D40D1DBE299B83EA
1 changed files with 5 additions and 5 deletions

View File

@ -1500,17 +1500,17 @@ static void cbExitProcess(EXIT_PROCESS_DEBUG_INFO* ExitProcess)
PLUG_CB_EXITPROCESS callbackInfo; PLUG_CB_EXITPROCESS callbackInfo;
callbackInfo.ExitProcess = ExitProcess; callbackInfo.ExitProcess = ExitProcess;
plugincbcall(CB_EXITPROCESS, &callbackInfo); plugincbcall(CB_EXITPROCESS, &callbackInfo);
_dbg_animatestop(); // Stop animating
//history
dbgcleartracestate();
dbgClearRtuBreakpoints();
HistoryClear();
if(breakHere) if(breakHere)
{ {
dbgsetforeground(); dbgsetforeground();
dbgsetskipexceptions(false); dbgsetskipexceptions(false);
wait(WAITID_RUN); wait(WAITID_RUN);
} }
_dbg_animatestop(); // Stop animating
//history
dbgcleartracestate();
dbgClearRtuBreakpoints();
HistoryClear();
} }
static void cbCreateThread(CREATE_THREAD_DEBUG_INFO* CreateThread) static void cbCreateThread(CREATE_THREAD_DEBUG_INFO* CreateThread)