Attaching the Debugger to a Running Process

See Also 

If you want to debug a program that is already running, you can attach the debugger to the appropriate process.

You might want to attach the debugger to a running process under the following circumstances:

To attach the debugger to a running process:

  1. Choose Run > Attach Debugger.

    The Attach dialog box opens displaying a list of all of your currently active processes.

  2. If you want to filter the list of processes, type the string you want to match in the Filter text box.
  3. Select the process to which you want to attach the debugger.
  4. The Project drop-down list includes all open projects. The IDE can display source files for the process to which you are attaching only if a project exists for that program. From the drop-down list, select the project that represents the program to which you are attaching. If the selected project does not match the program to which you are attaching, the attach is aborted.
  5. Click OK.
See Also
Starting a C or C++ Debugging Session

Legal Notices