Vs2010 remote debugging

Source: Internet
Author: User
Tags change settings

I recently used remote debugging and found that some steps are not too clear. By the way, I checked the information online to facilitate future queries.

Debugging between two computers is introduced here.

Generally, it is developed machine A and client machine B.

Generally, vs2010 is installed on a, but not on B.

First, prepare machine B.

1: Change the address of machine B to a network segment with machine A, for example

Machine A: 192.168.1.2

Machine B: 192.168.1.5

2: Open the remote connection of machine B

Click my computer-system properties-change settings-remote-Remote Desktop = allow any version to run

3: Search for the remote debugger folder in the vs installation directory on machine.

Copy the c: \ Program Files \ Microsoft Visual Studio 10.0 \ common7 \ ide \ remote debugger directory to machine B

It is recommended that both directories and files be consistent.

4: create a user and password consistent with machine

Start machine a preparation

1: Open the vs project file. Choose Properties> debug> use remote machine and enter 192.168.1.5.

 

Start online debugging

1: copy the EXE file generated on machine A to machine B. The directory paths must be the same:

2: msvsmon.exe in the x86folder of remote debuggeron machine B

3: run the software on machine A. If the program runs on machine B, it indicates sucess.

 

Supplement later

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.