Datasheet
Buck/Boost Converter PICtail™ Plus Daughter Board User’s Guide
DS70336A-page 44 © 2008 Microchip Technology Inc.
3.5 DEBUGGING THE CODE
The MPLAB ICD 2 In-Circuit Debugger can be used to run, halt, and step the code. A
breakpoint can be set to halt the program after the code has executed the instruction
at the breakpoint. The contents of the RAM and registers can be viewed whenever the
processor has been halted.
The MPLAB ICD 2 In-Circuit Debugger uses the following function keys to access the
main debugging functions:
•<F5> – Halt
•<F6> – Reset
• <F7> – Single Step
•<F9> – Run
In addition to these, there are more functions accessible by right clicking on a line of
source code. The most important of these are “Set Breakpoint” and “Run to Cursor”.
3.5.1 Displaying the Code
To display the code:
1. Select View>Program Memory
.
2. From the Program Memory window, select the Symbolic tab, as shown in
Figure 3-20.
FIGURE 3-20: PROGRAM MEMORY WINDOW