1
0
Fork 0

Merge pull request #2613 from Mattiwatti/exitprocess-event

Clear history before exit breakpoint
This commit is contained in:
Duncan Ogilvie 2021-03-18 20:02:07 +01:00 committed by GitHub
commit 83114f1b34
Signed by: GitHub
GPG Key ID: 4AEE18F83AFDEB23
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;
callbackInfo.ExitProcess = ExitProcess;
plugincbcall(CB_EXITPROCESS, &callbackInfo);
_dbg_animatestop(); // Stop animating
//history
dbgcleartracestate();
dbgClearRtuBreakpoints();
HistoryClear();
if(breakHere)
{
dbgsetforeground();
dbgsetskipexceptions(false);
wait(WAITID_RUN);
}
_dbg_animatestop(); // Stop animating
//history
dbgcleartracestate();
dbgClearRtuBreakpoints();
HistoryClear();
}
static void cbCreateThread(CREATE_THREAD_DEBUG_INFO* CreateThread)