Integrate windbg into Visual Studio

Source: Internet
Author: User

In my previous blog (http://blog.joycode.com/jiangsheng/archive/2005/06/08/53126.aspx) I mentioned how to use windbg to debug the Visual C ++ program. However, switching from ide To command line is troublesome. To be lazy, you can add windbg to the tool menu of Visual Studio, in this way, you can directly start windbg from IDE for debugging. The settings on the configuration page of the external tool are as follows:

Title: windbg command line: C: \ masm32 \ debug \ windbg.exe, if the installation is downloaded separately, the command line may be like this: "C: \ Program Files \ debugging tools for Windows \ windbg.exe") parameter: -Ee C ++-g-I "$ (targetdir)"-y "$ (targetdir)"-QY-logo-qsy-sdce-WF "$ (projectfilename ). wew "" $ (targetpath) "(when the command line is too long, windbg will not work normally. As for the meaning of these parameters, it is better to go back to the next debug tools for Windows and install them .) Initial Directory: $ (projectdir) Of course, the debugging code is not limited to C ++. In fact, I mainly use windbg to debug assembly code.
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.