Microchip Technology DV164039 Data Sheet

Page of 64
PIC24FJ256DA210 Development Board User’s Guide
DS51911A-page 28
 2010 Microchip Technology Inc.
3.7.2
Using Breakpoints and Mouseovers
To set a breakpoint in code, use one of the following methods:
• Double Click in Gutter: Double click on the window gutter next to the line of code 
where you want the breakpoint. Double click again to remove the breakpoint.
• Pop-up Menu: Place the cursor over the line of the code where you want the 
breakpoint. Then, right click to pop up a menu and select “Set Breakpoint”. Once a 
breakpoint is set, “Set Breakpoint” will become “Remove Breakpoint” and “Disable 
Breakpoint”. Other options on the pop-up menu under Breakpoints are for 
deleting, enabling or disabling all breakpoints.
• Breakpoint Dialog: Open the Breakpoint dialog (Debugger > Breakpoints) to set, 
delete, enable or disable breakpoints. See MPLAB IDE Help for more information 
on this dialog.
A breakpoint set in code appears as red “stop sign” with a “B”. Once code is halted, 
hovering over the variables pops up the current value of those variables (Figure 3-11).
The mouseover feature must be set up. From the menu bar, select Edit > Properties
from the Properties dialog, select the Tooltips tab, and then click the Enable Variable 
Mouseover Values 
check box.
FIGURE 3-11:
EXAMPLE BREAKPOINT