Attach to Process Launch Configuration

Use the Symbian OS Device (Attach to Process) launch configuration to attach the debugger to an already running Symbian OS process or thread on a target device from within any project. This is useful for debugging servers running in RAM in a client-server relationship where the client relies on the presence of the server process to operate as one example.

Attaching to a process requires a both target device running the Symbian OS and the presence of CODA on the device. You can also use the Symbian OS Data view to attach to a process while debugging. However, you can not attach to a process running on an emulator.

If the New Launch Configuration Wizard created the Attach to Process launch configuration no changes are usually needed. The Attach to Process options match those of Symbian OS Device with one additional step, selection of the process to debug in the Attach to Process dialog.

To modify the launch configuration settings, select the Run > Debug As menu option to open the Debug dialog. Select the Attach to Process configuration and click a tab to set specific options. Click Apply to save any option modifications. Click Debug to launch a debugging session using the new settings.

Figure 1. Attach to Process launch configuration in the Debug dialog

The Symbian OS Device (Attach to Process) launch configuration panes include:

Other references