Datasheet
PICkit™ 3 Debug Express Lessons
© 2009 Microchip Technology Inc. DS41370C-page 41
FIGURE 3-31: SET BREAKPOINT ON LINE 111
FIGURE 3-32:
BREAKPOINT SET
The statement we’ve placed the breakpoint on will be executed when the Demo Board
Switch button is pressed. Select Debugger > Run
to begin program execution. The
demo board LEDs will rotate as the code runs since the breakpoint statement has not
been executed yet.
Press the Demo Board Switch button. The program will halt on the breakpoint
statement, as shown in Figure 3-33. <F8> can now be used to step through the code.