Ejemplo n.º 1
0
 /// <summary>
 /// Open pads on their default positions.
 /// </summary>
 protected override void OpenDefaultPads()
 {
     base.OpenDefaultPads();
     BreakpointsPad.ShowOnMainForm();
     HardwarePad.ShowOnMainForm();
     WatchPad.ShowOnMainForm();
 }
Ejemplo n.º 2
0
 /// <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);
         }
     }
 }
Ejemplo n.º 3
0
            /// <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);
            }
Ejemplo n.º 4
0
            /// <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);
            }