Cleaning Up, Mucking Out and Paranoid Programming

This talk describes tools and techniques for dealing with large legacy code bases. These tools let you go into this code base to figure out what is going on with your program.

Also discussed are techniques for doing paranoid programming designed to keep things from getting worse.

The talk

Web Based Version of the slides

The OpenOffice Source to the Slides

PDF Format

Support Files

The debugging and logging functions (tar ball).

The components

debug_me.h
Header for the debug_me function
debug_me.c
A function that starts a debugger (gdb) on the current program. This function also traps failed assert calls and throws you into the debugger if they fail
log_msg.h
Header for the log_msg function
log_msg.c
Function to log messages to a file