MemCheck tutorial

This area explains how to use MemCheck. This describes what it does, not how it does it. To know the how, look at MemCheck's source code and comments (if you find any). Some things are very easy to understand; some are less (well, unfortunately the source code is not very readable - I call this a system level tool). You can always ask me !
I rewrote the tutotial using MemCheck 2.54 on Delphi 5.1 (most things should be similar with other versions).

  1. Find memory leaks
  2. Find bad calls (method calls on destroyed object)
  3. Find bad interface calls (method calls on interface references which refer to a destroyed object)
  4. Find buffer overruns
  5. Other uses



Last update: March 2001