Your new best friend: GDB
Sergio Durigan is a Red Hat engineer who works on GDB, the GNU debugger. He writes:
Are you tired of using printf to debug your C/C++ program? Do you feel lost when you see a segmentation fault on your screen? Do you use GDB, but have the impression that you could take more from it? Then this presentation is for you! Come meet GDB, your next best friend, and have a look at some of its nice new (or not-so-new) features! Reverse debugging, Python scripting support, SystemTap SDT probe integration, all of this can be used to improve your workflow and make you spend less time debugging (and more time playing nethack!).