|
The dbg library is a set of C++ utilities to facilitate
modern debugging idioms.
It has been designed to support defensive programming
techniques in modern C++ code. It integrates well with standard
library usage and has been carefully designed to be easy to write,
easy to read and very easy to use.
It provides various constraint checking utilities together with
an integrated error logging facility. These utilities are flexible
and customisable. They can be enabled and disabled at runtime,
and in release builds, dbg library use can be compiled
away to nothing.
dbg library features include:
- Expressive constraint checking utilities
- Integrated stream-based logging facilities
- Execution tracing support
- Differentiates between different sources of diagnostics -
you can enable/disable them all independantly
- Easy to use, powerful, configurable
- assertion behaviour can be altered at runtime (abort, throw, or
continue)
- Integrates well with modern C++ code
- Can be compiled out with no overhead
|