Partilhar via


How to: Run the Remote Debugging Monitor 

This topic applies to:

Visual Studio Edition

Visual Basic

C#

C++

J#

Web Dev

Express

No

No

No

No

No

Standard

No

No

No

No

No

Pro/Team

Yes

Yes

Yes

Yes

Yes

The Remote Debugging Monitor (msvsmon.exe) is a small application that Visual Studio 2005 connects to for remote debugging. During remote debugging, Visual Studio runs on one machine (the debugger host) and the Remote Debugging Monitor runs on the remote machine along with the application you are debugging.

Before you can begin remote debugging, you must set up remote debugging. For more information, see How to: Set Up Remote Debugging.

You must also make sure you have the required permissions for debugging on the remote machine. For more information, see Remote Debugging Permissions.

Once you have done these two things, you are ready to run the Remote Debugging Monitor and begin remote debugging.

NoteNote

The dialog boxes and menu commands you see might differ from those described in Help depending on your active settings or edition. To change your settings, choose Import and Export Settings on the Tools menu. For more information, see Visual Studio Settings.

To start the Remote Debugging Monitor

  1. Click Start, point to All Programs, point to Microsoft Visual Studio 2005, point to Visual Studio Tools, and then click Remote Debugger.

    -or-

    Run msvsmon.exe from the Windows Command Prompt.

    The Remote Debugging Monitor runs as a Windows application. The user interface shows that the Remote Debugging Monitor is running and makes remote debugging easy to set up.

  2. You can now configure the Remote Debugging Monitor for remote debugging in one of two modes:

Running the Remote Debugging Service (ASP .NET and other server environments)

For debugging in ASP .NET and other server environments, you can run the Remote Debugging Monitor as a Windows service (the Remote Debugger Service.)

To Configure the Remote Debugging Monitor as a Service

  1. From the Start menu, choose Microsoft Visual Studio 2005, the point to Visual Studio Tools, and click Visual Studio 2005 Remote Debugger Configuration Wizard.

  2. Follow the steps in the wizard to set up remote debugging as a service.

See Also

Tasks

How to: Set Up Windows Authentication Mode
How to: Set Up "No Authentication" Mode
Remote Debugging Errors and Troubleshooting

Concepts

Just-In-Time Debugging

Other Resources

Remote Debugging Setup