Table of Contents

Attaching to remote processes

To attach to an existing process on a local or remote machine, use the "Attach to process" command available in WinGDB menu. The following dialog will appear:

Some of the fields are required:

The "Show processes from all users" check box allows you to choose whether the process list contains processes from all users, or only for the user which name you specified in the login string.

Also you can set other settings, accessible after clicking the "Advanced settings" button. The following dialog will appear:

This dialog contains mostly optional settings:

Attaching to remote processes with common Visual Studio 'Attach to Process' window

To attach to an existing process on a remote machine, you can also use the "Attach to process" command available in menu "Tools". The standard "Attach to process" dialog should appear. In the dialog choose the "WinGDB" transport and provide login information in the "Qualifier" field. The format is "username[:password]@hostname[:port]", where square brackets denote optional parts.

The password and the port number are optional. If you don't specify the port, it will default to 22. You may also omit the password, but in that case another dialog will appear, prompting you for the password:

The "Show processes from all users" check box allows you to choose whether the process list contains processes from all users, or only for the user which name you specified in the login string.

This option is available only in some editions of Visual Studio. If "WinGDB" transport doesn't show up on your edition, please use the "Attach to process" command from WinGDB menu instead.

Table of Contents


Copyright (C) 2008-2010 WinGDB.com. All rights reserved.