Starting the Remote Debugging Monitor
5/10/2007
If you are debugging native applications, you must start the Visual Studio remote debugger monitor (MSVCMON.exe) on the device.
To start the remote debugging monitor
On the device, open a command window.
To execute the remote debugging client, at the command prompt type:
msvcmon.exe -tcpip -anyuser -timeout -1
-tcpip opens a TCP/IP remote debugging session.
-anyuser allows any remote user to connect to a debugging session on the device.
-timeout -1 prevents msvcmon.exe from timing out.
If this parameter is omitted, the default session length is 15 minutes.
After the remote debugging session begins, a message should be displayed that the device is "waiting for connection - any user mode".
On the device, open a command window.
To execute the remote debugging client, at the command prompt type:
msvcmon.exe -tcpip -anyuser -timeout -1
-tcpip opens a TCP/IP remote debugging session.
-anyuser allows any remote user to connect to a debugging session on the device.
-timeout -1 prevents msvcmon.exe from timing out.
If this parameter is omitted, the default session length is 15 minutes.
After the remote debugging session begins, a message should be displayed that the device is "waiting for connection - any user mode".
See Also
Tasks
Configuring a Visual Studio Project for Remote Debugging