Windows has triggered a breakpoint in xxxxx.exe

Source: Internet
Author: User

Vs2005 SP1

XP SP3

 

When the program is not running during debug debugging, an error occurs: Windows has triggered a breakpoint in xxxxx.exe,

 

After you click "continue", you can debug it intermittently and run the program (when running, the value m_ftemp is clearly assigned to the constructor, however, when the program is closed, an error is reported.

 

Comment out the line of the newly added code to see what the problem is,

 

After finding the line of code, an error occurred while assigning values to a member variable m_ftemp in the class constructor, but according to the syntax, this should not be wrong.

 

Then rebuild solution will be ready.

 

Possible cause: This program is decompressed from the backup. If there is no rebuild solution, some other files of the project are still previous files due to environment changes, during debugging, I only press F7, which may be called "incremental compilation". Where I modify the code, I re-compile the code to generate a new file. However, I may still use the old file if there is no change, so it caused some strange errors.

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.