User`s guide

A Basic Tutorial for MPLAB IDE
© 2006 Microchip Technology Inc. DS51519B-page 43
You could continue single stepping through the code, but instead, set a breakpoint just
before the first value is sent out to PORTC. To set a breakpoint, put the cursor on the
line following line:
movwf PORTC ; display COUNT on PORTC
and click the right mouse button.
FIGURE 2-22: DEBUG CONTEXT MENU (RIGHT MOUSE CLICK ON LINE)
Select Set Breakpoint from the context menu. A red “B will show on the line. (You can
also double click on a line to add a breakpoint.)
FIGURE 2-23: EDITOR WINDOW – SET BREAKPOINT