debug is simple, single-file debug toolkit for C/C++.
debug provides macros that allows inspection of program state during execution by printfing to stderr some desired info.
Include debug.h and you are ready to go! Use macros as shown in the samples.c file. You can disable toolkit effects (no printfs, zero overhead) by defining standard NDEBUG during compilation.
Modified BSD License (3-clause BSD). See provided LICENSE file.
Łukasz Sowa [email protected] http://lukaszsowa.pl/about
Bug reports, feature requests, questions are more than welcome!