예제 #1
0
        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);
        }
예제 #2
0
        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);
            }
        }