To debug an application in MPLAB X IDE, you must create a project that contains your source code so that the code may be built, programmed into your device, and executed as specified below:
from the Run toolbar.
from
the Debug toolbar.
from the Debug toolbar.
from the Debug toolbar. Be careful not to step into a Sleep
instruction or you will have to perform a processor Reset to resume debugging.
from the
Debug toolbar.
from the Debug toolbar.
from the Debug toolbar.
Depending on the device, additional Resets, such as POR/BOR, MCLR, and System, may be available. Refer to the product data sheet for more information.