Problems encountered in remote debugging of Visual Studio 2012

Source: Internet
Author: User

Sometimes the development environment does not have the problem of code in the production environment will be some development environment can not reproduce the problem, or need to remote debugging production environment code to do?

VS has been provided to developers for remote debugging tools

The following is a brief talk about how to use,
Pre-Preparation:
1, the local login account, the password with the remote server consistent (VS2012 previously needed, now I did not test, just do the same, province to get the problem)
2, according to the server system version copy the corresponding remote debugging tools to the server
Then run the msvsmon.exe inside.


3, local open vs, tools-"additional process


Note: qualifier here to fill in the computer name, can not fill the IP, I fill in the IP direct error
The local code is consistent with the server code and the PDB file must be copied

Of course, before adding the computer name in the C:\windows\system32\drivers\etc\ below the hosts file to do the local resolution of the server computer name!
If you are monitoring the IIS process, do not see the corresponding site process, you can access the remote site locally, and then refresh you will see

After attaching a process, direct local interrupt point debugging, remote debugging will be a bit slow

Problems encountered in remote debugging of Visual Studio 2012

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.