Microchip Technology DM240312 Data Sheet

Page of 64
Programming and Debugging the Board
 2010 Microchip Technology Inc.
DS51911A-page 27
3.7
DEBUGGING THE CODE
Assuming that you have modified the code to implement your own application on the 
PIC24FJ256DA210, it is possible that it will not work after your first build and needs to 
be debugged. MPLAB IDE provides an editor and several debug features, such as 
breakpoints and Watch windows, to aid in application code debugging.
This section includes:
• Editing Application Code
• Using Breakpoints and Mouseovers
• Using Watch Windows
3.7.1
Editing Application Code
To view application code so it may be edited, do one of the following:
• Select File > New to create new code, or File > Open to search for and open an 
existing code file.
• Double click on a file in the Project window to open an existing code file. An exam-
ple is shown in Figure 3-10.
For more information on using the editor to create and edit code, see the Help files for 
the MPLAB IDE Editor.
FIGURE 3-10:
OPEN FILE FOR EDIT