Exemplo n.º 1
0
        public WatchPanel()
        {
            InitializeComponent();
            content                 = new DebugObjectsPanel();
            content.TopLevel        = false;
            content.FormBorderStyle = FormBorderStyle.None;
            content.Parent          = this;
            contentPanel.Controls.Add(content);
            content.Dock          = DockStyle.Fill;
            content.Visible       = true;
            content.IsReadOnly    = false;
            content.IsPinnable    = true;
            content.IsEvaluatable = true;
            content.OnPinClicked += content_OnPinClicked;
            content.ClearWatchExpressions();
            content.OnDagDropText      += content_OnDagDropText;
            content.OnEditCellComplete += content_OnEditCellComplete;
            content.ReevaluateRequest  += Content_ReevaluateRequest;
            Debugger.OnWatchUpdate     += Debugger_OnWatchUpdate;
            Debugger.OnNotification    += (message) =>
            {
                if (message.StartsWith("source=>")) // advancing in the source code on the debugger "step next"
                {
                    ReevaluateAll();
                }
            };

            Debugger.OnDebuggerStateChanged += DebuggerServer_OnDebuggerStateChanged;
        }
Exemplo n.º 2
0
        public LocalsPanel()
        {
            InitializeComponent();
            content                 = new DebugObjectsPanel();
            content.TopLevel        = false;
            content.FormBorderStyle = FormBorderStyle.None;
            content.Parent          = this;
            this.Controls.Add(content);
            content.Dock                = DockStyle.Fill;
            content.Visible             = true;
            content.OnEditCellStart    += Content_OnEditCellStart;
            content.OnEditCellComplete += Content_OnEditCellComplete;

            Debugger.OnWatchUpdate += Debugger_OnWatchUpdate;
        }
Exemplo n.º 3
0
        public QuickWatchPanel()
        {
            InitializeComponent();
            content                 = new DebugObjectsPanel();
            content.TopLevel        = false;
            content.FormBorderStyle = FormBorderStyle.None;
            content.Parent          = this;
            contentPanel.Controls.Add(content);
            content.Dock                = DockStyle.Fill;
            content.Visible             = true;
            content.OnEditCellComplete += Content_OnEditCellComplete;
            content.OnEditCellStart    += Content_OnEditCellStart;

            Debugger.OnWatchUpdate  += Debugger_OnWatchUpdate;
            Debugger.OnFrameChanged += Debugger_OnFrameChanged;
            DebuggerServer.OnDebuggerStateChanged += Debugger_OnDebuggerStateChanged;
        }
Exemplo n.º 4
0
 public WatchPanel()
 {
     InitializeComponent();
     content                 = new DebugObjectsPanel();
     content.TopLevel        = false;
     content.FormBorderStyle = FormBorderStyle.None;
     content.Parent          = this;
     contentPanel.Controls.Add(content);
     content.Dock          = DockStyle.Fill;
     content.Visible       = true;
     content.IsReadOnly    = false;
     content.IsPinnable    = true;
     content.IsEvaluatable = true;
     content.OnPinClicked += content_OnPinClicked;
     content.ClearWatchExpressions();
     content.OnDagDropText                 += content_OnDagDropText;
     content.OnEditCellComplete            += content_OnEditCellComplete;
     content.ReevaluateRequest             += Content_ReevaluateRequest;
     Debugger.OnWatchUpdate                += Debugger_OnWatchUpdate;
     DebuggerServer.OnDebuggerStateChanged += DebuggerServer_OnDebuggerStateChanged;
 }