diff options
Diffstat (limited to 'Python')
-rw-r--r-- | Python/pythonrun.c | 3 |
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(); } |