Visual Studio Remote Debugging

Source: Internet
Author: User

Visual Studio supports debugging a program on a remote machine, and after simple setup, it's as easy as debugging local code.

The first step : Copy the Remote Debugger folder in the VS tool to the target machine. The approximate directory should be: D:\Program Files (x86) \microsoft Visual Studio ***\common7\ide\remote Debugger, or you can find a shortcut to it from the Start menu, such as:

The second step : Open the Remote Debugger folder on the server, if it is 32-bit run X86 inside the msvsmon.exe, if it is 64-bit run X64 inside the msvsmon.exe, after the boot can see the monitoring interface. By default, users with administrator privileges on the remote server can connect to the debug server and, if required, allow other users (such as users running vs locally) to be set through the tools-as permission. You can see help, usage, and a simple description of debugging.

Step three : Use the VS tool to open your program source code, use the shortcut key CTRL + ALT + P to open the additional process form, qualifier enter the remote server address, select the process to debug.

Note programs on the remote server need to have symbol files (PDB files), which are typically placed in the application's directory.

Visual Studio Remote Debugging

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.