mirror of
https://github.com/AdaCore/cpython.git
synced 2026-02-12 12:57:15 -08:00
Add DebugBreak() call to Py_FatalError() for Mark Hammond (only on
Win32 in Debug mode).
This commit is contained in:
@@ -1025,7 +1025,10 @@ Py_FatalError(msg)
|
||||
OutputDebugString("Fatal Python error: ");
|
||||
OutputDebugString(msg);
|
||||
OutputDebugString("\n");
|
||||
#ifdef _DEBUG
|
||||
DebugBreak();
|
||||
#endif
|
||||
#endif /* MS_WIN32 */
|
||||
abort();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user