### Process List (Windows NT Only)

Note: The Process List dialog, menu choice, and pushbutton are only available on platforms that support process debugging ( Windows NT).

Select Process List on the File menu, or the Process List pushbutton in the Startup dialog, to open a Process List dialog. This dialog lets you attach to a specific process that you want to debug.

To select a process to debug:

1. Type the full path name of the process you want to debug in the Process path entry field.

   The debugger requires this path to locate the executable for the process so that it can load the debugging information contained in the executable. If you do not specify a process path, you can only see the disassembly view in the Source window for the process.

2. Double-click on the process, or select the process you want to debug from the list, then press Enter or select the Attach push button.

Note: In Windows NT, if you are currently debugging a process, that process is terminated when a new process is attached. When you exit the debugger, any attached process is also terminated. Do not attach to operating system processes, or to the debugger's own process. Attaching to such processes can cause unpredictable results.

Use program profile Check Box

Select the Use program profile check box to start the debugging session with program profile information. If the executable associated with the process you attach to was previously debugged, its program profile is used to determine window positions and sizes.

Push Buttons

Attach
  Attaches the process you selected so that you can begin debugging it.
Refresh
  Refreshes the list, removing processes that have terminated, and adding ones that started since the Process List dialog opened or since the last refresh.

When to Use the Process List Dialog