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-location (CWDEBUG_LOCATION)
[Configuration Options And Macros]

Collaboration diagram for --enable-location (CWDEBUG_LOCATION):

Description

Adds code that supports source-file:line-number lookup. This will load debugging symbols at the start of a program allowing one to print source file / line number information.
Turning this on causes libcwd to print source file and line number information about where memory was allocated in the memory allocation overview. It also provides an interface, allowing applications that link with libcwd to print debugging information using the symbol table.

When to use it

As a developer, especially when you are debugging memory allocations.

Configure option

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

See also:
  Memory Allocation Debugging And Locations