mirror of
https://github.com/python/cpython.git
synced 2025-07-24 11:44:31 +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("Fatal Python error: ");
|
||||||
OutputDebugString(msg);
|
OutputDebugString(msg);
|
||||||
OutputDebugString("\n");
|
OutputDebugString("\n");
|
||||||
|
#ifdef _DEBUG
|
||||||
|
DebugBreak();
|
||||||
#endif
|
#endif
|
||||||
|
#endif /* MS_WIN32 */
|
||||||
abort();
|
abort();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue