VS: No breakpoint code version differs from original version

Source: Internet
Author: User

Breakpoints are set, but cannot be interrupted, prompting that "the breakpoint code version will not be the same as the original version". In this case, it is generally generated bin\debug the following file does not match the actual code.

But this time there is no problem, re-update the program, clean up the project, No. As if the file code has been modified, VS does not recognize that it has been modified. Baidu a bit. This may be caused by confusion in the text encoding of the file. The solution is as follows:

1. Remove the wrong code file from the project

2. Re-create this file with VS, copy the code from the old code file into the file generated by the letter.

3. Recompile the project, OK

VS: No breakpoint code version differs from original version

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.