Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>There is a tool provided by Microsoft called <a href="http://msdn.microsoft.com/es-es/library/ms220948(v=vs.90).aspx" rel="nofollow noreferrer">Application Verifier</a>. It is a gui tool that changes system settings to run selected applications in a controlled environment. This makes it possible to <strong>crash your program if it causes detectable memory errors</strong>. This is a controlled crash that can be debugged.</p> <p>Fortunately it is obtainable from Microsoft as <a href="http://www.microsoft.com/en-us/download/details.aspx?id=20028" rel="nofollow noreferrer">a separate download</a>. Another way to get it is to have Windows SDK installed with checked <em>Application Verifier</em> checkbox. SDK offers also an option <em>Application Verifier redistributable</em>.</p> <p>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. <a href="https://stackoverflow.com/questions/tagged/mingw+debugging">[mingw] [debugging]</a> query on stackoverflow gives interesting articles. One of them is <a href="https://stackoverflow.com/q/4671900/772981">How do I use the MinGW gdb debugger to debug a C++ program in Windows?</a>. Gdb is the one I used.</p> <p>The general questions <a href="https://stackoverflow.com/q/1010106/772981">How to debug heap corruption errors?</a> and <a href="https://stackoverflow.com/q/4689274/772981">Heap corruption detection tool for C++</a> were helpful to find this tool, but I wasn't sure if it is compatible with MinGW. It is.</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload