void variablesListView_NodeOpened(TreeTableNode node) { VariableDetails details = (VariableDetails)node.Tag; mDebugger.Manager.StartProgressBarMarquee(); mDebugger.ConnectedTarget.ExpandLocal(details.MakePath()); mDebugger.ConnectedTarget.RetrieveLocals(mDebugger.CurrentThread, mDebugger.CurrentStackFrame.Depth); }
void variablesListView_NodeClosed(TreeTableNode node) { VariableDetails details = (VariableDetails)node.Tag; if (!mUpdateInProgress && mDebugger.ConnectedTarget != null && mDebugger.CurrentStackFrame != null) { mDebugger.Manager.StartProgressBarMarquee(); mDebugger.ConnectedTarget.CloseWatch(details.WatchID, details.MakePath()); mDebugger.ConnectedTarget.UpdateWatch(details.WatchID, mDebugger.CurrentThread, mDebugger.CurrentStackFrame.Depth); } }