diff --git a/src/AddIns/Debugger/Debugger.AddIn/Visualizers/Graph/ObjectGraph/ObjectGraphProperty.cs b/src/AddIns/Debugger/Debugger.AddIn/Visualizers/Graph/ObjectGraph/ObjectGraphProperty.cs index d14e4510e0..899d258e73 100644 --- a/src/AddIns/Debugger/Debugger.AddIn/Visualizers/Graph/ObjectGraph/ObjectGraphProperty.cs +++ b/src/AddIns/Debugger/Debugger.AddIn/Visualizers/Graph/ObjectGraph/ObjectGraphProperty.cs @@ -38,7 +38,14 @@ namespace Debugger.AddIn.Visualizers.Graph { if (this.Expression == null) throw new DebuggerVisualizerException("Cannot evaluate property with missing Expression"); - Value debuggerVal = this.Expression.Evaluate(WindowsDebugger.CurrentProcess); + Value debuggerVal; + try { + debuggerVal = this.Expression.Evaluate(WindowsDebugger.CurrentProcess); + } catch (System.Exception ex) { + this.Value = "Exception: " + ex.Message; + this.IsEvaluated = true; + return; + } this.IsAtomic = debuggerVal.Type.IsAtomic(); this.IsNull = debuggerVal.IsNull;