User`s guide
A Basic Tutorial for MPLAB IDE
© 2006 Microchip Technology Inc. DS51519B-page 41
Next, press the Step Into icon or select Debugger>Step Into to single step to the code
at Main.
FIGURE 2-18: CODE AFTER STEP INTO
In order to see if the code is operating as intended, sending incrementing values out
PORTC, watch the values being sent to PORTC. Select View>Watch
to bring up an
empty Watch window. There are two pull downs on the top of the Watch window. The
one on the left labeled “Add SFR” can be used to add the Special Function Register,
PORTC, into the watch. Select PORTC from the list and then click Add SFR to add it to
the window.
FIGURE 2-19: WATCH – SELECT PORTC