Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8753515
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T13:26:25+00:00 2026-06-13T13:26:25+00:00

How to debug mingw built binaries to detect heap errors? I see there are

  • 0

How to debug mingw built binaries to detect heap errors? I see there are several questions on the topic, but they are general and it’s hard to find the tool that would work well with MinGW. I spent much time on finding the solution, I hope the combined topic will be helpful.

Such a tool becomes necessary when for example someone reports a bug in your library while running it under Visual Studio debugger, which stops with a “Heap Error”.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-13T13:26:26+00:00Added an answer on June 13, 2026 at 1:26 pm

    There is a tool provided by Microsoft called Application Verifier. It is a gui tool that changes system settings to run selected applications in a controlled environment. This makes it possible to crash your program if it causes detectable memory errors. This is a controlled crash that can be debugged.

    Fortunately it is obtainable from Microsoft as a separate download. Another way to get it is to have Windows SDK installed with checked Application Verifier checkbox. SDK offers also an option Application Verifier redistributable.

    After you configure Application Verifier to have an eye for your app, you need to debug it. Debugging under MinGW is a more common subject, already explained on stackoverflow. [mingw] [debugging] query on stackoverflow gives interesting articles. One of them is How do I use the MinGW gdb debugger to debug a C++ program in Windows?. Gdb is the one I used.

    The general questions How to debug heap corruption errors? and Heap corruption detection tool for C++ were helpful to find this tool, but I wasn’t sure if it is compatible with MinGW. It is.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

The debug configuration of my app is built against: PYTHON25_D.DLL MSVCR80D.DLL We use Python
I'm trying to do a debug build of the Rabbyt library using mingw's gcc
i use the netbeans with MinGW and MYSY make /debugger but when i compile
I've built yamlcpp static (libyaml-cpp.a) library using Qt's mingw compiler. Now I want to
I have installed C/C++ plugin in Netbeans 7.1 and configured MinGW. But when I
I'm working on a C project with Eclipse and MinGW. When running a debug
I installed Eclipse CDT C/C++ and MinGW. But I cant build hello world program.
Debug.WriteLine(ucFollow.Visible); ucFollow.Visible = true; Debug.WriteLine(ucFollow.Visible); ucFollow is a custom UserControl, nothing fancy. The above
Debug HTTP is easy, you have all sort of tools to do it (like
Debug mode in MigLayout is quite powerful option for development and debugging. It is

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.