| Debug session type |
Specifies the options to initiate a debug session using pre-configured debug configurations. The options include: - Download: Resets the target if the debug configuration specifies the action. Further, the command stops the target, (optionally) runs an initialization script, downloads the specified ELF file, and modifies the program counter(PC).
- Connect: Runs the target initialization file specified in the RSE configuration to set up the board before connecting to it. The Connect debug session type does not load any symbolic debugging information for the current build target’s executable thereby, denying access to source-level debugging and variable display. The Connect command resets the target if the launch configuration specifies this action. Further, the command stops the target, (optionally) runs an initialization script, does not load symbolics, download an ELF file, or modify the program counter(PC). NOTE: The default debugger configuration causes the debugger to cache symbolics between sessions. However, selecting the Connect option invalidates this cache. If you must preserve the contents of the symbolics cache, and you plan to use the Connect option, clear the Cache Symbolics Between Sessions check box in the Symbolics tab page.
- Attach: Assumes that code is already running on the board and therefore does not run a target initialization file. The state of the running program is undisturbed. The debugger loads symbolic debugging information for the current build target’s executable. The result is that you have the same source-level debugging facilities you have in a normal debug session (the ability to view source code and variables, and so on). The function does not reset the target, even if the launch configuration specifies this action. Further, the command loads symbolics, does not stop the target, run an initialization script, download an ELF file, or modify the program counter (PC). NOTE: The debugger does not support restarting debugging sessions that you start by attaching the debugger to a process.
- Custom: Provides user an advantage to create a custom debug configuration
|
| C/C++ application |
- Project: Specifies the project to associate with the selected debug launch configuration. Click Browse to select a different project.
- Application: Specifies the name of the C or C++ application.
- Search Project: Click to open the Program Selection dialog box and select a binary.
- Variables: Click to open the Select build variable dialog box and select the build variables to be associated with the program. Note: The dialog box displays an aggregation of multiple variable databases and not all these variables are suitable to be used from a build environment. Given below are the variables that should be used:
- ProjDirPath - returns the absolute path of the current project location in the file system ${ProjDirPath}/Source/main.c.
- workspace_loc - returns the absolute path of a workspace resource in the file system, or the location of the workspace if no argument is specified ${workspace_loc:/ProjectName/Source main.c"${workspace_loc}
- Gnu_Make_Install_Dir - returns the absolute path of the GNU make.exe tool ${Gnu_Make_Install_Dir}\make.exe
|
| Build (if required) before launching |
Controls how auto build is configured for the launch configuration. Changing this setting overrides the global workspace setting and can provide some speed improvements. NOTE: These options are set to default and collapsed when Connect debug session type is selected. The options include: - Build configuration – Specifies the build configuration either explicitly or use the current active configuration.
- Select configuration using ‘C/C++ Application’ – Select/clear to enable/disable automatic selection of the configuration to be built, based on the path to the program.
- Enable auto build – Enables auto build for the debug configuration which can slow down launch performance.
- Disable auto build – Disables auto build for the debug configuration which may improve launch performance. No build action will be performed before starting the debug session. You have to rebuild the project manually.
- Use workspace settings (default) – Uses the global auto build settings.
- Configure Workspace Settings – Opens the Launching preference panel where you can change the workspace settings. It will affect all projects that do not have project specific settings.
|
| Target settings |
Specifies the connection and other settings for the target. The options include: - Connection – Specifies the applicable Remote System configuration.
- Edit – Click to edit the selected Remote System configuration.
- New – Click to create a new Remote System configuration for the selected project and application.
- Execute reset sequence – Select to apply reset settings, specified in the target configuration, when attaching to a target. Alternatively, clear the option to ignore reset settings. NOTE: This option is not available when Connect debug session type is selected.
- Execute initialization script(s) – Select to execute the initialization script(s), specified in the target configuration, when attaching to a target. Alternatively, clear the option to ignore the initialization script(s). NOTE: This option is not available when Connect debug session type is selected.
|