oh NO... never mind... mystery solved... be VERY CAREFUL ABOUT STATE MACHINES! fixes incorrect non-resets of win32 demon 'exception not handled' state, which was buggily leading to DBG_EXCEPTION_NOT_HANDLED being passed to ContinueDebugEvent

This commit is contained in:
Ryan Fleury
2024-06-19 11:56:47 -07:00
parent 3327d73373
commit 435877824a
2 changed files with 2 additions and 102 deletions
+1 -1
View File
@@ -1609,9 +1609,9 @@ dmn_ctrl_run(Arena *arena, DMN_CtrlCtx *ctx, DMN_RunCtrls *ctrls)
{
if(dmn_w32_shared->exception_not_handled && !ctrls->ignore_previous_exception)
{
dmn_w32_shared->exception_not_handled = 0;
resume_code = DBG_EXCEPTION_NOT_HANDLED;
}
dmn_w32_shared->exception_not_handled = 0;
}
////////////////////////