MPLAB® X IDE Debug Toolbar
ToolbarDivider.png Debug_Finish_Debugger_Session.png Debug_Pause.png Debug_Reset.gif Debug_Continue.png Debug_Step_Over.png Debug_Step_Into.png Debug_Run_To_Cursor.png Debug_Set_PC_at_Cursor.gif Debug_Focus_Cursor_at_PC.gif ToolbarDivider.png

Keyboard shortcuts may be added or modified

The debug toolbar will not be visible when you first launch MPLAB® X IDE. It will appear automatically when you start a debug session.


Keyboard:

Shift+F5

Menu:
Debug > Finish Debugger Session

Finish Debug Session

Ends the current debug session and closes the connection to the debug tool.

If you are running multiple debug sessions simultaneously, to end a specific session:

  • Open the Sessions window by choosing Window > Debugging > Sessions Alt+Shift+6
  • Right-click the debugging session you want to stop and choose Finish from the pop-up menu.

Keyboard:
None

Menu:
Debug > Reset

Reset

Performs processor reset. Additional resets, such as POR/BOR, MCLR, and System, may be available, depending on the device.


Keyboard:
None

Menu:
Debug > Pause

Pause

Pauses the debugging operation without finishing the session. Debug windows such as memory views and watches will be updated to reflect the current state of the device.


Keyboard:

F5

Menu:
Debug > Continue

Continue

Resumes debugging until the next breakpoint or the end of the program is reached.


Keyboard:

F8

Menu:
Debug > Step Over

Step Over

Executes one source line of the program. If the line is a function call, executes the entire function then stops.


Keyboard:

F7

Menu:
Debug > Step Into

Step Into

Executes one source line of the program. If the line is a function call, executes the program up to the functions's first statement and stops.


Keyboard:

F4

Menu:
Debug > Run to Cursor

Run To Cursor

Runs the current project to the cursor's location in the file and stops program execution.


Keyboard:
None

Menu:
Debug > Set PC at Cursor

Set PC At Cursor

Sets the program counter (PC) value to the line address of the cursor.


Keyboard:
None

Menu:
Debug > Focus Cursor at PC

Focus Cursor At PC

Moves the cursor to the current PC address and centers this address in the window.

© 2024 Microchip Technology, Inc.
Notice: ARM and Cortex are the registered trademarks of ARM Limited in the EU and other countries.
Information contained on this site regarding device applications and the like is provided only for your convenience and may be superseded by updates. It is your responsibility to ensure that your application meets with your specifications. MICROCHIP MAKES NO REPRESENTATIONS OR WARRANTIES OF ANY KIND WHETHER EXPRESS OR IMPLIED, WRITTEN OR ORAL, STATUTORY OR OTHERWISE, RELATED TO THE INFORMATION, INCLUDING BUT NOT LIMITED TO ITS CONDITION, QUALITY, PERFORMANCE, MERCHANTABILITY OR FITNESS FOR PURPOSE. Microchip disclaims all liability arising from this information and its use. Use of Microchip devices in life support and/or safety applications is entirely at the buyer's risk, and the buyer agrees to defend, indemnify and hold harmless Microchip from any and all damages, claims, suits, or expenses resulting from such use. No licenses are conveyed, implicitly or otherwise, under any Microchip intellectual property rights.