private void DebuggerService_OnDebuggingEnded(object sender, DebuggingEventArgs e) { _isDebugging = false; e.Debugger.DebuggerRunningChanged += Debugger_OnDebuggerRunningChanged; e.Debugger.DebuggerStep += Debugger_OnDebuggerStep; EnableIcons(); }
private void DebuggerService_OnDebuggingStarted(object sender, DebuggingEventArgs e) { _valueTypeBox.DropDownItems.Clear(); _valueTypeBox.DropDownItems.AddRange(VariableDisplayManager.Instance.ControllerNames); _debugger = e.Debugger; _debugger.DebuggerStep += OnDebuggerOnDebuggerStep; _debugger.DebuggerRunningChanged += OnDebuggerOnDebuggerRunningChanged; }
private void DebuggerService_OnDebuggingEnded(object sender, DebuggingEventArgs e) { if (_isTesting) { this.Invoke(() => { _editor.StopTesting(); }); } _isTesting = false; e.Debugger.DebuggerRunningChanged -= Debugger_DebuggerRunningChanged; _debuggerService.CurrentDebugger.NativeDebugger.Breakpoints.Remove(_mapLoadBreak); }
private void DebuggerService_OnDebuggingEnded(object sender, DebuggingEventArgs e) { _debugger.DebuggerStep -= OnDebuggerOnDebuggerStep; _debugger.DebuggerRunningChanged -= OnDebuggerOnDebuggerRunningChanged; _debugger = null; EnablePanel(false); foreach (var viewer in _fullViewers) { viewer.Close(); } }
private void mainForm_OnDebuggingStarted(object sender, DebuggingEventArgs e) { _debugger = e.Debugger; _debugger.DebuggerStep += (o, args) => { this.Invoke(UpdateStack); EnablePanel(true); }; _debugger.DebuggerRunningChanged += (o, args) => { this.Invoke(UpdateStack); EnablePanel(!args.Running); }; }
private void DebuggerService_OnDebuggingStarted(object sender, DebuggingEventArgs e) { _debugger = e.Debugger; _debugger.DebuggerRunningChanged += (o, args) => { EnablePanel(!args.Running); if (!args.Running) { UpdatePanel(); } }; _debugger.DebuggerStep += (o, args) => { EnablePanel(true); UpdatePanel(); }; }
private void _debuggerService_OnDebuggingStarted(object sender, DebuggingEventArgs e) { _symbolCache.Clear(); foreach (var maskKey in _enum.EnumMapping) { foreach (var enumVal in maskKey.Value) { var addressFromLabel = _symbolService.SymbolTable.GetAddressFromLabel(enumVal); if (addressFromLabel == null) { continue; } byte enumByteVal = (byte)addressFromLabel; _symbolCache.Add(new ByteMaskKey(enumByteVal, maskKey.Key), enumVal); } } }
private void DebuggerService_OnDebuggingStarted(object sender, DebuggingEventArgs e) { var debugger = e.Debugger; debugger.DebuggerRunningChanged += Debugger_DebuggerRunningChanged; var mapLoadAddress = _symbolService.SymbolTable.GetAddressFromLabel("load_map"); if (!mapLoadAddress.HasValue) { return; } var calcAddr = new CalcAddress(); var calcPage = debugger.NativeDebugger.Memory.Flash[0x15 - (mapLoadAddress.Value >> 16)]; calcAddr.Initialize(calcPage, (ushort)mapLoadAddress.Value); _mapLoadBreak = debugger.NativeDebugger.Breakpoints.Add(calcAddr); debugger.NativeDebugger.Breakpoint += NativeDebuggerOnBreakpoint; }
private void mainForm_OnDebuggingEnded(object sender, DebuggingEventArgs e) { _debugger = null; }
private void DebuggerService_OnDebuggingEnded(object sender, DebuggingEventArgs e) { SetDebugging(false); }
private void DebuggerService_OnDebuggingStarted(object sender, DebuggingEventArgs e) { e.Debugger.DebuggerRunningChanged += (o, args) => EnableDebugMenuItems(); e.Debugger.DebuggerStep += (o, args) => EnableDebugMenuItems(); }
private void DebuggerService_OnDebuggingEnded(object sender, DebuggingEventArgs e) { EnableDebugMenuItems(); }
private void mainForm_OnDebuggingStarted(object sender, DebuggingEventArgs e) { _debugger = e.Debugger; _debugger.DebuggerStep += OnDebuggerOnDebuggerStep; _debugger.DebuggerRunningChanged += OnDebuggerOnDebuggerRunningChanged; }
private void mainForm_OnDebuggingEnded(object sender, DebuggingEventArgs e) { _debugger.DebuggerRunningChanged -= OnDebuggerOnDebuggerRunningChanged; _debugger.DebuggerStep -= OnDebuggerOnDebuggerStep; _debugger = null; }
private void DebuggerService_OnDebuggingEnded(object sender, DebuggingEventArgs e) { EndDebug(); }
private void DebuggerService_OnDebuggingStarted(object sender, DebuggingEventArgs e) { Debugger = e.Debugger; }
private void DebuggerService_OnDebuggingStarted(object sender, DebuggingEventArgs e) { SetDebugging(true); }
private void DebuggerService_OnDebuggingEnded(object sender, DebuggingEventArgs e) { Debugger = null; }
private void DebuggerService_OnDebuggingStarted(object sender, DebuggingEventArgs e) { this.Invoke(ShowDebugPanels); }