diff --git a/TitanEngine/TitanEngine.Debugger.DebugLoop.cpp b/TitanEngine/TitanEngine.Debugger.DebugLoop.cpp index 5c67b07..ad59593 100644 --- a/TitanEngine/TitanEngine.Debugger.DebugLoop.cpp +++ b/TitanEngine/TitanEngine.Debugger.DebugLoop.cpp @@ -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);