Main tab

The Main tab of a launch configuration references the project and the executable file for debugging, and specifies the settings for automatic project builds.


Main tab

Table 1. Debug Configurations - Main tab (Generic settings)
Setting Description
Project Specify the project for which the launch configuration is created.
C/C++ Application Specify the application (ELF file) to be launched.
Build (if required) before launching Specify whether the application can be built automatically before launching. Select one of these options:
  • Build configuration: Specify the build configuration for automatic build.
  • Enable auto build: Enable automatic build if required. Selecting this option may cause the application to launch slower.
  • Disable auto build: Disable automatic build.
  • Use workspace settings: Use the option specified in the preferences of the current workspace. Click Configure Workspace Settings to view and edit the preferences.

If the launch configuration is specific for the C/C++ Remote Application debugging interface, the Main tab additionally configures the serial or TCP connection between the GDB host machine and the remote target:

Table 2. Debug Configurations - Main tab (C/C++ Remote Application settings)
Setting Description
Connection Select the connection between the target machine and the GDB host. Default: Local.

If required, click New to create a new connection. Select the connection type (Serial Port, Telnet, or SSH) and specify the connection settings.

Remote Absolute File Path for C/C++ Application Specify the absolute path to the ELF file on the target machine.
Commands to execute before application Specify commands to be executed on the target host before the debug session starts.
Skip download to target path Enable this option to not download the program to the target machine.