Launch Configuration Setup

To communicate between the Carbide.c++ debugger and the on-device debug agent, using either Application TRK or System TRK, you must define a debug launch configuration that matches the installed debug agent. The two configurations available include:

By default, you can click the Debug icon () in the toolbar to launch the New Launch Configuration Wizard. This creates a launch configuration for the project based on project information and any additional input required, like COM port selection. It is the recommended method for creating new launch configurations. Or, use the Debug window to create a customized launch configuration.

Figure 1. Debug launch configuration for on-device debugging (Application TRK shown)

Defining a Customized Launch Configuration

  1. Choose the Run > Debug As menu item
  2. The Debug window appears.

  3. Select a Configuration type for on-device debugging and click New
  4. Choose the Symbian OS Application TRK or System TRK configuration based on which debug agent is installed on the device, then click New. A new debug launch configuration appears in the Configuration list and the Main tab appears.

  5. Enter the required information
  6. For debug launch configurations using the TRK debug agent, the following pages require review and possible option settings:

  7. Click Debug
  8. The Debug window closes and the Carbide.c++ debugger begins a debugging session using the new configuration. The next time you click the Debug icon, this debug launch configuration is used to start a debug session.

Related references