“Windowshas triggered a breakpoint in xxx.exe, probably because the heap is damaged. "How can this problem be solved ?, Xxx.exe breakpoint

Source: Internet
Author: User

“Windowshas triggered a breakpoint in xxx.exe, probably because the heap is damaged. "How can this problem be solved ?, Xxx.exe breakpoint

Windows has triggered a break in xxx.exe. the cause may be a heap damage. This indicates that there is a bug in xx.exe or any DLL it loads.

The cause can also be that the user presses F12 when xx.exe has a focus.

The output window may provide more diagnostic information.

When this error occurs, it is basically because we encounter an out-of-bounds (most likely) or ultra-long response when processing arrays or pointers during programming, this results in damage to the stack.

Problem:

When initializing the color of the bitmap, the array has crossed the border.

This problem usually occurs when the array is out of bounds.

I have to work hard to learn how to debug it, so I can't worry about Baidu qaq after a bug occurs.

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.