Fix SEH exceptions not handled properly when debugger is attached
This commit is contained in:
@@ -308,7 +308,7 @@ LONG CALLBACK SehExceptionHandler(EXCEPTION_POINTERS* ep)
|
|||||||
// Pause if debugging
|
// Pause if debugging
|
||||||
if (Platform::IsDebuggerPresent())
|
if (Platform::IsDebuggerPresent())
|
||||||
{
|
{
|
||||||
PLATFORM_DEBUG_BREAK;
|
return EXCEPTION_CONTINUE_SEARCH;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Crash engine
|
// Crash engine
|
||||||
|
|||||||
Reference in New Issue
Block a user