C ++ debugging information *. EXE cannot be found or does not match (C ++ cannot debug the solution)

Source: Internet
Author: User

C ++ cannot be debugged. the following error is returned:

Debugging information *. EXE cannot be found or does not match

This method is taken from an English forum.

To enable debugging:
1) goto project-> helloworld Properties
2) on the left expand "configuration properties"
3) Expand "C/C ++"
4) on the left, select "general"
5) on the Right, change "debug information format" to "program database for edit and continue (/Zi )"
5) on the left, select "optimization"
6) on the Right, change "optimization" to "disabled (/OD )"
7) on the left, expand "linker"
8) on the left, select "debugging"
9) on the Right, change "Generate debug info" to "yes"
10) Click OK
11) set your breakpoints
12) rebuild your application

Also when running your application use Ctrl + F5 to build and run it, this keeps the console window open long enough for you to see your output.

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.