Attaching the Debugger to a Running Process

See Also 

If you want to debug a project that is already running, you can attach the debugger to the project's running process. You must select the process and the associated project to enable the debugger to display source files along with the debugging information.

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 Debug > 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. Select the project that represents the process to which you are attaching. If the selected project does not match the process to which you are attaching, the attach is aborted.
  5. Click OK.
See Also
Starting a C or C++ Debugging Session

Legal Notices