Share via


Starting the Remote Debugging Monitor

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

  1. On the device, open a command window.

  2. 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

How to Configure a Device for Remote Debugging | Configuring a Visual Studio Project for Remote Debugging

Last updated on Wednesday, October 18, 2006

© 2006 Microsoft Corporation. All rights reserved.