The debug libraryThis library contains routines needed by many of my recent programs. It includes utilities to aid in debugging of programs. Some of the features currently supported by this library are memory leak detection, hex dumping, and logging. The logging system is especially useful. It adds syntax highlighting for different log levels in debugging mode. There is different modes for printing to console and files, duplicate line detection and lots of other small things which makes life simpler for the programmer. Package history
This package history is probably out of date (I only update it every now and then). For an up-to-date list of changes, please refer to the package changelog. How libdebug came to beThe memory debugging system is based on the MAD (Memory Allocation Debugging) system found in Midnight Commander. I've rewritten it and improved it a little bit, but the idea behind it is still the same. The logging system evolved from the need to print at different levels of verbosity and to see what the hell is going on when you've got a million debugging messages in the code. Since inception, the log system have changed quite a bit and I've added more and more syslog-like functionality. I'm currently planning to split this from the the library and make it a daemon instead. The hex dumping code is pretty straightforward but quite useful. |