Put in lots of code to break on exceptions in the debugger.

Made the cloud provider able to report that it is loading
This commit is contained in:
Lars Brubaker 2015-09-11 10:48:24 -07:00
parent 7ef6132bd1
commit fa97829073
23 changed files with 194 additions and 106 deletions

View file

@ -36,6 +36,7 @@ using MatterHackers.MatterControl.SlicerConfiguration;
using MatterHackers.VectorMath;
using System;
using System.ComponentModel;
using System.Diagnostics;
namespace MatterHackers.MatterControl.PartPreviewWindow
{
@ -305,8 +306,10 @@ namespace MatterHackers.MatterControl.PartPreviewWindow
gCodeRenderer.GCodeFileToDraw.GetFilamentUsedMm(ActiveSliceSettings.Instance.FilamentDiameter);
}
}
catch (Exception)
catch (Exception e)
{
Debug.Print(e.Message);
Debugger.Break();
}
gCodeRenderer.CreateFeaturesForLayerIfRequired(0);
}