/// <summary> /// Open pads on their default positions. /// </summary> protected override void OpenDefaultPads() { base.OpenDefaultPads(); BreakpointsPad.ShowOnMainForm(); HardwarePad.ShowOnMainForm(); WatchPad.ShowOnMainForm(); }
/// <summary> /// Updates the content of the Breakpoints pad according to the specified debugger state. /// </summary> /// <param name="state">The debugger state.</param> protected virtual void UpdateBreakpointsPad(DebuggerController.States state) { if (state == DebuggerController.States.Suspended) { var reason = Platform.DebuggerController.ExecutionInterruptReason; if (reason != null && reason.HitBreakpoints != null) { BreakpointsPad.HighlightBreakpoints(reason.HitBreakpoints); } } }
/// <summary> /// Creates, initializes pads and populates the Pads list. /// </summary> protected override void CreatePads() { base.CreatePads(); WatchPad = new WatchPad(Platform.Project); WatchPad.WatchAdded += new Action <WatchPad.WatchItem>(UpdateWatchItem); WatchPad.WatchValueEdited += new Action <WatchPad.WatchItem, long>(EditWatchValue); Pads.Add(WatchPad); BreakpointsPad = new BreakpointsPad(Platform.Project); BreakpointsPad.BreakpointController = Platform.DebuggerController.BreakpointController; Pads.Add(BreakpointsPad); HardwarePad = new HardwarePad(Platform.Project); Pads.Add(HardwarePad); }
/// <summary> /// Creates, initializes pads and populates the Pads list. /// </summary> protected override void CreatePads() { base.CreatePads(); WatchPad = new WatchPad(Platform.Project); WatchPad.WatchAdded += new Action<WatchPad.WatchItem>(UpdateWatchItem); WatchPad.WatchValueEdited += new Action<WatchPad.WatchItem, long>(EditWatchValue); Pads.Add(WatchPad); BreakpointsPad = new BreakpointsPad(Platform.Project); BreakpointsPad.BreakpointController = Platform.DebuggerController.BreakpointController; Pads.Add(BreakpointsPad); HardwarePad = new HardwarePad(Platform.Project); Pads.Add(HardwarePad); }