From 7ee5fe3423fd660af1e3fc6f052a33a8b217a0ef Mon Sep 17 00:00:00 2001 From: Rom Walton Date: Wed, 5 Mar 2014 16:50:58 -0500 Subject: [PATCH] MGR: If an assert is thrown while running under a debugger, break into the debugger. --- clientgui/BOINCGUIApp.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/clientgui/BOINCGUIApp.cpp b/clientgui/BOINCGUIApp.cpp index 7d43daee31..860a9e1109 100644 --- a/clientgui/BOINCGUIApp.cpp +++ b/clientgui/BOINCGUIApp.cpp @@ -118,9 +118,9 @@ void BOINCAssertHandler(const wxString &file, int line, const wxString &func, co msg.IsEmpty() ? "" : msg.mb_str() ); - //if (wxIsDebuggerRunning()) { + if (wxIsDebuggerRunning()) { wxTrap(); - //} + } }