Jump to main content
MPLAB® X IDE User’s Guide
Index
Search
Home
5
Basic Development and Debug Flow
5.14
Debug Code
Notice to Development Tools Customers
1
Preface
2
What is
MPLAB X IDE
?
3
Before You Begin
4
Tutorial
5
Basic Development and Debug Flow
5.1
Create a New Project
5.2
View Changes to Desktop
5.3
Open Project Properties
5.4
View or Make Changes to Project Properties
5.5
Set Up or Change Debugger/Programmer Tool Options
5.6
Set Up or Change Language Tool Options
5.7
Set Language Tool Locations
5.8
Set Other Tool Options
5.9
Generate Project Code
5.10
Add Files to a Project
5.11
Set Build Properties
5.12
Build a Project
5.13
Run Code
5.14
Debug Code
5.14.1
How Debug Works
5.14.2
Debugging Your Application Code
5.14.3
Debug Macros Generated
5.14.4
Debug Considerations
5.15
Live Connect Debug
5.16
Step Through Code
5.17
Control Program Execution with Breakpoints
5.18
Watch Symbol Values Change
5.19
Watch Local Variable Values Change
5.20
View Registers for the Project (I/O View)
5.21
View or Change Device Memory
5.22
Set Configuration Values in the Configuration Bits Window
5.23
Program a Device
6
Projects
7
Editor
8
Development and Debug Features
9
Arm® Cortex®-M Specific Features
10
Analysis
11
Automation
12
Troubleshooting
13
Desktop Reference
14
MPLAB X IDE Windows and Dialogs
15
NetBeans Windows and Dialogs
16
Configuration Settings Summary
17
MPLAB X IDE Connections: Servers and Ports
18
Working Outside of MPLAB® X IDE
19
Revision History
20
Glossary
Microchip Information
5.14 Debug Code
If your code does not run successfully, you should debug it.