Exemplo n.º 1
0
        private void OnDebuggerOnDebuggerRunningChanged(object o, DebuggerRunningEventArgs args)
        {
            if (!args.Running)
            {
                UpdateAllRows();
            }

            EnablePanel(!args.Running);
        }
Exemplo n.º 2
0
        private void Debugger_DebuggerRunningChanged(object sender, DebuggerRunningEventArgs e)
        {
            if (_mapLoadBreak == null)
            {
                return;
            }

            if (_debuggerService.CurrentDebugger.CPU.PC != _mapLoadBreak.Address.Address)
            {
                return;
            }
        }
Exemplo n.º 3
0
        private void OnDebuggerOnDebuggerRunningChanged(object o, DebuggerRunningEventArgs args)
        {
            this.Invoke(() =>
            {
                if (!args.Running)
                {
                    UpdateStack();
                }
                else
                {
                    _callLocations.Clear();
                    callStackView.Rows.Clear();
                }

                EnablePanel(!args.Running);
            });
        }
Exemplo n.º 4
0
        private void CurrentDebugger_DebuggerRunningChanged(object sender, DebuggerRunningEventArgs e)
        {
            _dockingService.DockPanel.BeginInvoke(() =>
            {
                ITextEditor editor = _dockingService.ActiveDocument as ITextEditor;
                if (editor != null)
                {
                    editor.RemoveDebugHighlight();
                }

                if (e.Running)
                {
                    return;
                }

                AbstractUiAction.RunCommand(new GotoLineAction(e.Location.FileName, e.Location.LineNumber - 1));
                editor = _dockingService.ActiveDocument as ITextEditor;
                if (editor != null)
                {
                    editor.HighlightDebugLine(e.Location.LineNumber - 1);
                }
            });
        }
Exemplo n.º 5
0
 private void Debugger_OnDebuggerRunningChanged(object o, DebuggerRunningEventArgs args)
 {
     EnableIcons();
 }
Exemplo n.º 6
0
 private void Debugger_OnDebuggerRunningChanged(object sender, DebuggerRunningEventArgs e)
 {
     this.Invoke(() =>
     {
     });
 }