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

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