Attaching and Detaching Processes

With component-based client/server and Internet applications, parts of your application may be running in a separate process, possibly even on a different machine. The Processes dialog box allows you to debug out-of-process components by attaching them to a debugging session.

To attach to a new process

  1. Choose Processes from the Debug menu. The Processes dialog box will appear.

  2. Select a process from the Processes list. This list will display all debuggable processes currently running on the local machine.

    If you are attached to a network, you can also view and attach to processes on another networked machine by selecting the machine name from the Machine list or by clicking the Machine button to browse the network.

  3. Click the Attach button.

To detach a process

  1. Choose Processes from the Debug menu. The Processes dialog box will appear.

  2. Select a process from the Debugged Processes list.

  3. Click the Detach button.