Microchip Technology DM240312 Data Sheet

Page of 64
PIC24FJ256DA210 Development Board User’s Guide
DS51911A-page 26
 2010 Microchip Technology Inc.
3.6
RUNNING THE CODE
The example application can either execute in real time (Run) or steps (Step Into, Step 
Over, and Animate.) Real-time execution occurs when you select Run in MPLAB IDE. 
Once the device code is halted, either by Halt or a breakpoint, you can step. The toolbar 
buttons (Figure 3-9) can be used for quick access to commonly used debug operations:
• Run
• Halt
• Animate
• Step Into
• Step Over
• Step Out
• Reset
FIGURE 3-9:
DEBUGGING MENU OPTIONS
To see how these options function, do the following:
• Select Debugger > Reset > Processor Reset or click the Reset button to reset the 
program.
• Select Debugger > Run, or click the Run button. Observe how the application 
operates.
• Select Debugger > Halt, or click the Halt button to stop the program execution. A 
green solid arrow will mark the line of code in the File window where the program 
halted.
• Select Debugger > Step Into, or click the Step Into button, to step the program 
execution once. The green solid arrow will move down one line of code in the File 
window. Click the button several times to step through some code.
• Select Debugger > Reset > Processor Reset. Click the Reset button to reset the 
program again. The arrow will disappear, meaning the device is reset.