comparison Python/pythonrun.c @ 8988:070de4d39ddd legacy-trunk

Add DebugBreak() call to Py_FatalError() for Mark Hammond (only on Win32 in Debug mode).
author Guido van Rossum <guido@python.org>
date Thu, 13 Aug 1998 13:33:16 +0000
parents bbd2b5d8d0b6
children dabb2b6a3a81
comparison
equal deleted inserted replaced
8987:3e127bca84e7 8988:070de4d39ddd
1023 #endif 1023 #endif
1024 #ifdef MS_WIN32 1024 #ifdef MS_WIN32
1025 OutputDebugString("Fatal Python error: "); 1025 OutputDebugString("Fatal Python error: ");
1026 OutputDebugString(msg); 1026 OutputDebugString(msg);
1027 OutputDebugString("\n"); 1027 OutputDebugString("\n");
1028 #endif 1028 #ifdef _DEBUG
1029 DebugBreak();
1030 #endif
1031 #endif /* MS_WIN32 */
1029 abort(); 1032 abort();
1030 } 1033 }
1031 1034
1032 /* Clean up and exit */ 1035 /* Clean up and exit */
1033 1036