Datasheet
PICkit™ 3 Debug Express
DS41370C-page 40 © 2009 Microchip Technology Inc.
FIGURE 3-30: C018 START-UP LIBRARY CODE
3.6.4 Using Breakpoints
When debugging code, a “breakpoint” can be added to a program statement. When
running the program, the debugger will halt the target upon reaching the breakpoint
statement.
In the MPLAB IDE 05 Timer.c source code, place the editor cursor on line 111,
SwitchPressed = TRUE;, and right-click to open the contextual menu. Select Set
Breakpoint as shown in Figure 3-31. A red octagon with the letter ‘B’ will appear in the
editor margin to indicate a breakpoint has been set on that line.