Starting an MPLAB® X IDE Debug Session

Last modified by Microchip on 2024/06/24 06:30

The Debug Project Icon

After ensuring the desired debug startup option has been set and ensuring the desired debugging tool has been selected, you can start a debug session by clicking on the Debug Project icon.

Debug Project icon

When a debug session has been initiated:

  • The project will build. 
  • MPLAB® X Integrated Development Environment (IDE) will connect to the selected debug tool and download the built image.
  • The Debug Icons will appear on the Toolbar.
  • The application in the device will run according to the debug startup option.

This example shows the operation when the Debug Startup option is set to Halt at main.

Debug Project icons / halting at main

Learn More