5.13.1 How Run Works

Ensure you select your project or set it to be the main project (right click on the project and select Set as Main Project) before selecting one of the run functions shown in the table below.

Run progress is visible in the Output window.

Table 5-5. Run Options on Toolbar Buttons
Button Icon Function(1) Build Project Program Device Execute Code(2)
Run Project Build project code (without the debug executive) if the make process determines that a build is necessary For Hardware Debuggers: Program target device automatically with the build image (without the debug executive)

For Simulator: N/A

Launch debug tool and execute code (debug features are disabled)
Make and Program Device Build project code (without the debug executive) if the make process determines that a build is necessary Program target device automatically with the build image (without the debug executive) Launch debug tool and execute code (debug features are disabled)
  1. In the button drop-down menu, you will see the function followed by either “(Project Name)” for a selected project or “Main Project” for a project set as main.
  2. If you do not want your code to execute after build and program, see 5.13.2 Hold in Reset and Release from Reset.