VS Remote Debugging Summary

Source: Internet
Author: User

The debug environment is local vs2012+qt5.2.0, remote is the virtual machine in window sever2012:

1. Start by looking at the VS documentation, knowing that the Msvsmon tools are copied to the remote machine, run and set to no-authentication in the tools---options;

2. Compile the project locally, copy exe and DLL files to the remote machine (usually debug or Release folder), run EXE on the remote machine;

3. In the local VS Open project, set breakpoints, debugging, attach to process--Remote Debugging mode, enter the remote machine's IP address, the refresh will have the remote machine active process, choose to debug the process loaded up;

4. The local project can be debugged according to the information transferred from the Remote Msvsmon Remote debugging tool. Debugging the principle is probably: The remote EXE file contains debugging information and local is the same, so after mounting, EXE gets the information back to the local, and then debugging.

PS: See the document has a variety of settings related to project properties, but we do not use, there may be remote debugging there are two ways, one is the development environment directly start the remote process form, the other is I use the process of additional forms; It may be the first form of the various settings directory.

VS Remote Debugging Summary

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.