User`s guide
MPLAB IDE Troubleshooting
© 2006 Microchip Technology Inc. DS51519B-page 107
I tried to Step Over / Step Out of a function/subroutine, and now my
program is hung up.
Stepping over or out of a function or subroutine will actually execute all or some of the
code in that function/subroutine. Therefore, there is the potential to be caught in an
endless loop. Select Halt to regain control in MPLAB IDE.
I don’t see my problem here
Because MPLAB IDE is an integrated environment, errors or problems that appear to
be caused by MPLAB IDE may actually be caused by an integrated tool. Please check
on-line help files and other documentation for:
- the language tool you are using (e.g., MPASM assembler).
- the debug tool you are using (e.g., MPLAB ICD 2).
- the programmer tool you are using (e.g., PICSTART Plus).
10.3 ERROR MESSAGES
• Build Failed
• Cannot Find filename
• filename is missing
• Hex file not found
• Language Tool Not Properly Installed
• No Debugging Information Available
• Unresolved Breakpoints
Build Failed
There are many reasons why a build might fail. In general, check the following:
(1) The code in the editor window. Look for misspelling of directives, functions, or vari-
ables, and incorrect formatting. Also, non-standard characters can cause the build to
fail.
(2) The language tools used. Make sure the tools you are using for the build are the
correct ones for your selected device, e.g., you cannot build a dsPIC DSC project with
the MPLAB C18 C compiler.
Cannot Find filename
The file filename was not created due to an error in the build. This means you will need
to debug your code before a build can complete successfully.
filename is missing
Check your installation for missing files.
Hex file not found
The project did not generate a hex file. Errors in your code will prevent hex file
generation and cause this error.
Language Tool Not Properly Installed
After installing a new version of MPLAB IDE, make sure you provide MPLAB IDE with
the correct location of any language tools.
No Debugging Information Available
Make sure you have selected the option to create a .cod or .cof file with your build.