summaryrefslogtreecommitdiffstats
path: root/Python/pythonrun.c
diff options
context:
space:
mode:
Diffstat (limited to 'Python/pythonrun.c')
-rw-r--r--Python/pythonrun.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/Python/pythonrun.c b/Python/pythonrun.c
index 16aba5c..fa54473 100644
--- a/Python/pythonrun.c
+++ b/Python/pythonrun.c
@@ -1025,7 +1025,10 @@ Py_FatalError(msg)
OutputDebugString("Fatal Python error: ");
OutputDebugString(msg);
OutputDebugString("\n");
+#ifdef _DEBUG
+ DebugBreak();
#endif
+#endif /* MS_WIN32 */
abort();
}