I'll show you around. Visual studio--binding process debugging

Source: Internet
Author: User

The previous article took you to play the Visual studio--Unit test tells the use of unit tests in Visual Studio. In the VC + + development and debugging, sometimes it is impossible to set breakpoints in debugging (as I have encountered the development of the browser plug-in, because it is the browser to invoke the development of the plug-in DLL, so it is not in vs in the way to run the breakpoint debugging), then you need to use the binding process in the way, debugging. Create a cue box where you want to set up your judgment

For convenience, we create a dialog box directly in the main method to debug.
Execution Procedure

After the compilation is successful, click on the program executable (. exe file) to start running. There will be a prompt dialog box, debug Dialog:

Debug Dialog
# # #绑定进程
Select Menu Debug->attach to Process ... Open the Bind Process dialog box

Binding process

Select the process to bind, click "Attach" to be able to debug.

Previous review:
I'll show you around. Visual studio--Unit Test

What to tell in the next article:
I'll take you to the visual studio--to bring you multiple engineering development

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.