mpatrolc2

A library for debugging memory allocations
  http://www.cbmamiga.demon.co.uk/mpatrol
  0
  no reviews



The mpatrol library is a debugging tool that attempts to diagnose run-time errors that are caused by the wrong use of dynamically allocated memory.

along with providing a comprehensive and configurable log of all dynamic memory operations that occurred during the lifetime of a program, the mpatrol library performs extensive checking to detect any misuse of dynamically allocated memory.

all logging and tracing output from the mpatrol library is sent to a separate log file in order to keep its diagnostics separate from any that the program being tested might generate. a wide variety of library settings can also be changed at run-time via an environment variable, thus removing the need to recompile or relink in order to change the library's behaviour.

all of this functionality can be integrated into existing code through the inclusion of a single header file at compile-time.

this package is for g++ 4.0 or later. if your g++ is 3.2 or 3.3, install the mpatrolc102 package instead. if you use an ancient version of g++, try the mpatrol package.