public GetObject ( StackFrame frame ) : |
||
frame | StackFrame | |
return |
public static AbstractVariable Create(TargetVariable variable, StackFrame stackFrame) { TargetObject obj; try { obj = variable.GetObject(stackFrame); } catch { return new ErrorVariable(variable.Name, "Can not get object"); } return Create(variable.Name, obj, stackFrame); }
public void FormatVariable(StackFrame frame, TargetVariable variable) { TargetObject obj = null; Append ("{0} = ", variable.Name); if (!variable.IsAlive (frame.TargetAddress)) { Append ("<optimized out>"); return; } try { obj = variable.GetObject (frame); if (obj != null) Format (frame.Thread, obj); else Append ("<cannot display object>"); } catch { Append ("<cannot display object>"); } }