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

--enable-location (CWDEBUG_LOCATION)
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
Copyright © 2001 - 2004 Carlo Wood.  All rights reserved.