Commit 0ba35360 authored by Guido van Rossum's avatar Guido van Rossum

Add DebugBreak() call to Py_FatalError() for Mark Hammond (only on

Win32 in Debug mode).
parent 541f2411
...@@ -1025,7 +1025,10 @@ Py_FatalError(msg) ...@@ -1025,7 +1025,10 @@ Py_FatalError(msg)
OutputDebugString("Fatal Python error: "); OutputDebugString("Fatal Python error: ");
OutputDebugString(msg); OutputDebugString(msg);
OutputDebugString("\n"); OutputDebugString("\n");
#ifdef _DEBUG
DebugBreak();
#endif #endif
#endif /* MS_WIN32 */
abort(); abort();
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment