For MPLAB X IDE, it is not necessary to build the project first and then run or debug. Building is part of the run and debug processes. For initial development or major changes, however, you may want to make sure that the project builds before attempting to run or debug.
To build a project:
Build progress will be visible in the Output window.
Available build functions are:
Button Icon | Function | Description |
---|---|---|
![]() |
Build Project | Make all the files in the project. |
Build for Debugging | Make all the files in the project and add a debug executive to the built image. | |
Build with PRO Comparison | If you use an MPLAB XC C compiler in free mode, you can build in PRO mode as well and see a comparison output of differences, if any exist. See Compare MPLAB XC Compiler Free vs. PRO Licenses. | |
![]() |
Clean and Build | Remove previous build files and make all the files in the project. |
Clean and Build for Debugging | Remove previous build files and make all the files in the project. Add a debug executive to the built image. | |
Clean and Build with PRO Comparison | Remove previous build files and then Build with PRO Comparison. |
To view errors in the Output window:
See you language tool documentation for a discussion of errors.
To view checksum information:
Open the Dashboard window (see View the Dashboard Display) to see the checksum after a build.