|Debugging Tools for Windows|
Click Connect to Remote Session on the File menu to make WinDbg a debugging client and to connect to an active debugging server.
This command is equivalent to pressing CTRL+R. You can use this command only when WinDbg is in dormant mode.
You cannot use this command to connect to a process server or a KD connection server; for that purpose, use File | Connect to Remote Stub instead.
When you click Connect to Remote Session, the Connect to Remote Debugger Session dialog box appears. You can use this dialog box to enter the remote connection parameters or to browse a list of debugging servers.
To manually specify the remote connection parameters, enter one of the following strings in the Connection string box:
The various parameters in the preceding options have the following possible values:
Instead of manually specifying the remote connection parameters, you can press the Browse button in the Connect to Remote Debugger Session dialog box and use the Browse Remote Servers dialog box.
In the Browse Remote Servers dialog box, in the Machine text box, enter the name of the computer that the debugging server is running on. (The two initial backslashes are optional: "MyBox" and "\\MyBox" are both correct.) Then, press the Refresh button.
The Servers area lists all of the debugging servers that are running on that computer. Select any of the listed servers and then press ENTER or click OK. (You can also double-click one of the listed servers.) The proper connection string for the debugging server that you selected will now appear in the Connection string box in the Connect to Remote Debugger Session dialog box.
If the server is password-protected, the connection string includes Password=*. You must replace the asterisk (*) with the actual password.
After you specify the server and password, click OK to open the connection.
This list of servers in the Browse Remote Servers dialog box can also include servers that no longer exist but were shut down improperly. If you connect to one of these nonexistent servers, you will receive an error message.
The list of servers does not include process servers and KD connection servers; you can list those servers only by using the File | Connect to Remote Stub command or by running cdb -QR Server from a Command Prompt window.
For more information and for other methods of joining a remote debugging session, see Activating a Debugging Client.