Main Toolbar

Click on an icon to jump to its description.

ToolbarDivider.pngMain_New_File.pngMain_New_Project.pngMain_Open_Project.pngMain_Save_All.pngToolbarDivider.pngMain_Undo.pngMain_Redo.pngToolbarDivider.pngMain_Combo_Box.pngMain_Build_Project.pngMain_Down_Arrow.pngMain_Rebuild_Project.pngMain_Down_Arrow.pngMain_Program_Target_Project.pngMain_Down_Arrow.pngMain_Read_Target_Project.pngMain_Down_Arrow.pngMain_Hold_In_Reset.gifMain_Debug_Project.pngMain_Down_Arrow.pngToolbarDivider.pngMain_PC.pngMain_Status.png

New File

Keyboard:

Ctrl+N

Menu:
File ▶ New File…

Creates a new file with the New File wizard.


New Project

Keyboard:

Ctrl+Shift+N

Menu:
File ▶ New Project…

Creates a new project with the New Project wizard.


Open Project

Keyboard:

Ctrl+Shift+O

Menu:
File ▶ Open Project…

Opens an existing project.


Save All

Keyboard:

Ctrl+Shift+S

Menu:
File ▶ Save All

Saves all open files.


Undo

Keyboard:

Ctrl+Z

Menu:
Edit ▶ Undo

Reverses (one at a time) a series of editor actions, except Save.


Redo

Keyboard:

Ctrl+Y

Menu:
Edit ▶ Redo

Reverses (one at a time) a series of Undo commands.


Set Project Configuration

Selects project configuration. Choose “default” or “Customize”.

By default, this will showdefault. However, if you create a newconfiguration, its name will show up here as well allowing you to rapidly switch between multiple configurations. For example, one configuration may use the ICD3 and another the simulator.


Build Project

Menu:
Run ▶ Build Project

Builds the project using the compiler/assembler selected in the Project Properties. TheBuild command in MPLAB X is roughly equivalent to theMake command in MPLAB 8. Themake utility will build only the files in the project that have changed since the last build. Click on down arrow for other related options.


Clean and Build Project

Menu:
Run ▶ Clean and Build Project

Deletes files from previous builds and then builds the all project files. Click on down arrow for other related options.


Make and Program Target Project

Builds project in release mode then programs the PIC® Microcontroller. Click on down arrow for other related options.


Read Device Memory

Reads target device memory and loads into MPLAB X IDE. Click on down arrow for other related options.


Hold in Reset

Unlike the other toolbar buttons, this is a toggle switch. When it is pressed, it will assert the reset line to prevent the target from running. This button is most useful in conjunction with the Program Target button. After programming the target, Hold in Reset may be used to release the target board to run without having to disconnect the programmer.


Debug Project

Menu:
Debug ▶ Debug Project (Name)

Builds the project in debug mode (links in the debug executive), programs the target and runs the ­project on the target using the debugger selected in the project properties.



Main_PC.pngProgram Counter

Shows the current value of the Program Counter when a debug session is running. These may be visible even when a debug session is not active.



Main_Status.pngStatus Bits

Shows the current value of the Status bits when a debug session is running. These may be visible even when a debug session is not active