diff -r fccb2e8f8b9b -r fc333b249602 core/com.nokia.carbide.cpp.doc.user/html/tasks/processes/attach_debugger_to_process.htm --- a/core/com.nokia.carbide.cpp.doc.user/html/tasks/processes/attach_debugger_to_process.htm Wed Aug 25 12:13:45 2010 -0500 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,46 +0,0 @@ - - - - - - -Attaching to a Symbian OS Process - - - -

Attaching to a Symbian OS Process

-
-

Use the Symbian OS Attach to Process launch configuration to attach the debugger to an already running Symbian OS process or thread on a target device. 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.

-

You can also attach to a process in the Symbian OS Data view when debugging.

-

NOTE You cannot attach to a process running on the emulator. It must be a target device running the Symbian OS and the TRK debug agent.

-

When attempting to find a process the debugger uses the UID3 to locate the process.

-
-

Attaching to a Symbian OS Process

-
    -
  1. Import an executable to import it into the Executables view
  2. -
  3. Select any project in the workspace or the binary to attach to in the Executables view
  4. -

    In this example, we select the Executables project created when the binary was imported from the Project Explorer view (Figure 1).

    -

    -

    Figure 1 - Executables project created when importing an executable

    -
  5. Click Debug () to launch the New Configuration Launch Wizard
  6. -
  7. Select the Attach to Process Launch Configuration option and fill in the requested information
  8. -
  9. Click Debug
  10. -

    The Attach to Process window appears. Click a column title to sort the processes in ascending or descending order to help you locate a specific process or use the filter text box to show specific processes.

    -

    -

    Figure 2 - Attach to Process window

    -
  11. Select a process, click OK
  12. -

    The Attach to Process window closes. Open a Symbian OS view to show the process and thread information.

    -

    NOTE Terminating an Attach to Process session actually kills the process on the device. This means you must restart the process on the device in order to attach to it again.

    -
-
-
-
Related references
- - - - -