Microchip Technology AC164133 Data Sheet
Buck/Boost Converter PICtail™ Plus Daughter Board User’s Guide
DS70336A-page 46
© 2008 Microchip Technology Inc.
FIGURE 3-22:
WATCH WINDOW
4.
Select DTR1 from the Add SFR drop-down list and click Add SFR to add the
DTR1 register in the Watch window.
DTR1 register in the Watch window.
5.
Select PWMCON1 from the Add SFR drop-down list and click Add SFR to add
the PWMCON1 register in the Watch window.
the PWMCON1 register in the Watch window.
6.
Select ADCON from the Add SFR drop-down list and click Add SFR to add the
ADCON register in the Watch window.
ADCON register in the Watch window.
You will be able to see these registers change as you step through the code.
3.5.3
Setting the Breakpoint
1.
To set a breakpoint, right click a line of code and select Set Breakpoint from the
pop-up menu.
pop-up menu.
For example, find the following line of code and set a breakpoint on this line:
ACLKCONbits.FRCSEL = 1;
A red octagonal shape marked with a B appears in the gutter (gray bar on the
left) of the source code window to designate the breakpoint location, as shown
in Figure 3-23.
left) of the source code window to designate the breakpoint location, as shown
in Figure 3-23.