Made the Debugger.Break() only exist in debug mode.

This commit is contained in:
Lars Brubaker 2015-09-17 13:45:26 -07:00
parent 6af489407d
commit 79928f8fb7
20 changed files with 57 additions and 55 deletions

View file

@ -420,7 +420,7 @@ namespace MatterHackers.MatterControl.ConfigurationPage
}
catch (Exception)
{
Debugger.Break();
GuiWidget.BreakInDebugger();
}
}