## New Launch Configuration Wizard

The New Launch Configuration Wizard launches when no launch configuration exists for a build configuration in a project. Wherever possible the New Launch Configuration wizard gathers the information from the project and asks additional questions based on the type of launch configuration chosen. For example, a launch configuration using Symbian OS Device (Install SIS) requires different information than one targeted for Symbian OS Device.

Every project consists of one or more build configurations as listed under the Build project icon () of the toolbar or in the Add/Remove Carbide Build Configuration dialog. Every build configuration needs a launch configuration to enable debugging. Launch configurations can be shared between build configurations. The New Launch Configuration Wizard detects when a build configuration doesn't have an associated launch configuration and guides you through the setup process.

Figure 1. Build configurations for the chosen project appear under the Build icon

To access the New Launch Configuration Wizard click the Debug icon () on the toolbar. If no launch configuration exists for the selected build target the wizard is launched. If a launch configuration already exists, then that launch configuration is launched and not the wizard.

## Launch Configuration Wizard Pages

The following are the possible pages you will see depending upon your choice of build configuration and type of debugging required. Different launch configurations need different information to work properly. The following table lists all the pages seen when choosing common types of debugging.

Launch Configuration | Wizard Pages
--- | ---
Device | Debug As Executable Selection Build Options Selection New Launch Configuration
Simulator | Debug As Configure launch configuration

### Debug As

Use the Debug As dialog to select the method of debugging for the chosen build configuration. The choices include:

- Device – debug on Symbian devices using CODA (Carbide On-device Debug Agent)

- Simulator – debug on Symbian simulators

The choice made here filters the Launch Types page to only show valid launch configurations. Once a debug as choice is made, click OK.

Figure 1 - Debug As dialog

### Build Options Selection page

Use the Build Options Selection page to define if the launch configuration uses automatic build or not. Choices include using the global automatic built setting (default), enable or disable automatic build for the launch configuration. You can also set the global option using the Configure Workspace Settings... to open the Launching preference panel.

Figure 3 - Build Options Selection page

### Executable Selection page

Use the Executable Selection page to choose a binary created by the project to launch and debug. If only a single binary is available the Process to launch option is disabled.

EMULATOR ONLY Use the Location field for emulator targets to verify that the correct executable on the host is selected. This field is not used with on-device launch configurations.

Select the Process to launch, verify it is the correct binary.

Use the Specify device path of remote process to launch option (not shown) to specify alternate paths for launching the executable from RAM (c:\sys\bin\), ROM (z:\sys\bin\) or memory cards (e:\sys\bin\), then click Next.

Figure 4 - Executable Selection page (when project has multiple EXEs)

### New Launch Configuration

Use the New Launch Configuration page to note the name of the configuration, confirm the launch configuration settings, and then launch the debug session. If something doesn't look right, click Back to return to a page and change its setting. If all the settings are correct, click Finish to start the debug session using this launch configuration.

If you checkmark Advanced settings, the Debug dialog appears instead of launching the project. This enables you to make additional changes to the new launch configuration before starting the debug session. By design and intent, this should seldom be required for the initial launch.

Figure 7 - New Launch Configuration page

##### Other references

- Launch Configuration