void Reevaluate() { if (Debugger.IsInBreak) { string expression = expressionBox.Text.NormalizeExpression(); string data = Debugger.InvokeResolve("resolve", expression); bool repopulate = true; if (expression.IsSetExpression()) { string name = expression.Split('=').First().Trim(); if (content.FindDbgObject(name) != null) { repopulate = false; //let watch notification to be received if it is a set expression } } if (repopulate) { content.SetData(data); } } else { content.Refresh(); } }
public void SetData(string data) { content.SetData(data); }