Made the Debugger.Break() only exist in debug mode.
This commit is contained in:
parent
6af489407d
commit
79928f8fb7
20 changed files with 57 additions and 55 deletions
|
|
@ -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();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue