MPLAB® X IDE Debug Toolbar

Last modified by Microchip on 2023/11/10 11:04

Debug toolbar

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 shortcuts may be added or modified.

finish debugger session button Finish Debugger Session

Menu:
Debug > Finish Debugger Session

Keyboard:
Shift+F5

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.

pause button Pause

Menu:
Debug > Pause

Keyboard:
Ctrl+Alt+8

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.

reset button Reset

Menu:
Debug > Reset

Keyboard:
None

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

continue button Continue 

Menu:
Debug > Continue

Keyboard:
F5

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

step over button Step Over 

Menu:
Debug > Step Over

Keyboard:
F8

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

step into button Step Into

Menu:
Debug > Step Into

Keyboard:
F7

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

step out button Step Out 

Menu:
Debug > Step Out

Keyboard:
Ctrl+F7

Executes one source line of a program. If the line is a function call, it executes the functions and returns control to the caller.

run to cursor button Run to Cursor 

Menu:
Debug > Run to Cursor

Keyboard:
F4

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

set pc at cursor button Set PC at Cursor 

Menu:
Debug > Set PC at Cursor

Keyboard:
None

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

 focus cursor at pc button Focus Cursor at PC 

Menu:
Debug > Focus Cursor at PC

Keyboard:
None

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

Back to Top