mirror of https://github.com/python/cpython
Add DebugBreak() call to Py_FatalError() for Mark Hammond (only on
Win32 in Debug mode).
This commit is contained in:
parent
541f241132
commit
0ba353608f
|
@ -1025,7 +1025,10 @@ Py_FatalError(msg)
|
|||
OutputDebugString("Fatal Python error: ");
|
||||
OutputDebugString(msg);
|
||||
OutputDebugString("\n");
|
||||
#ifdef _DEBUG
|
||||
DebugBreak();
|
||||
#endif
|
||||
#endif /* MS_WIN32 */
|
||||
abort();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue