libcwd: The C++ Debugging Support Library - Reference Manual
Author: Carlo Wood
Description: C++ debugging support library with ostream debug output
Keywords: libcwd, debug output, debug facility, debug channel, object orientation, OO, C++, nested debug output, ostream, memory allocation, debugging, source file and line number

Main Page Reference Manual Namespace List Compound List Namespace Members Compound Members File Members

# --enable-alloc (CWDEBUG_ALLOC)
[Configuration Options And Macros]

Collaboration diagram for --enable-alloc (CWDEBUG_ALLOC):

Description

Turns on debugging for memory (de-)allocation. This will warn you when you free an invalid block. It also enables memory leak detection.

When to use it

In general, this should be used as long as you are developing a program, unless you want to do speed tests.

Configure option

This is enabled by default. Use configure --disable-alloc to disable it.

See also:
  Memory Allocation Debug Support