mirror of
https://github.com/python/cpython.git
synced 2025-07-24 19:54:21 +00:00
Add DebugBreak() call to Py_FatalError() for Mark Hammond (only on
Win32 in Debug mode).
This commit is contained in:
parent
541f241132
commit
0ba353608f
1 changed files with 3 additions and 0 deletions
|
@ -1025,7 +1025,10 @@ Py_FatalError(msg)
|
|||
OutputDebugString("Fatal Python error: ");
|
||||
OutputDebugString(msg);
|
||||
OutputDebugString("\n");
|
||||
#ifdef _DEBUG
|
||||
DebugBreak();
|
||||
#endif
|
||||
#endif /* MS_WIN32 */
|
||||
abort();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue