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

Win32 in Debug mode).
This commit is contained in:
Guido van Rossum 1998-08-13 13:33:16 +00:00
parent 541f241132
commit 0ba353608f
1 changed files with 3 additions and 0 deletions

View File

@ -1025,7 +1025,10 @@ Py_FatalError(msg)
OutputDebugString("Fatal Python error: ");
OutputDebugString(msg);
OutputDebugString("\n");
#ifdef _DEBUG
DebugBreak();
#endif
#endif /* MS_WIN32 */
abort();
}