Reset single stepping state when debugger pauses on exceptions

This commit is contained in:
ζeh Matt 2023-09-06 23:03:17 +03:00
parent 01d0d1854f
commit 40395549f9
No known key found for this signature in database
GPG Key ID: 18CE582C71A225B0
1 changed files with 2 additions and 0 deletions

View File

@ -1431,6 +1431,8 @@ __declspec(dllexport) void TITCALL DebugLoop()
//general unhandled exception callback
if(DBGCode == DBG_EXCEPTION_NOT_HANDLED)
{
engineStepActive = false;
if(DBGCustomHandler->chUnhandledException != NULL)
{
myCustomHandler = (fCustomHandler)((LPVOID)DBGCustomHandler->chUnhandledException);