GDB Debugger, great if you know how

Ok folks, head over to http://direc.org/linux/gdb/ for the best tuturial I have ever come across on using GDB to debug C programs.

I wish I had seen that years ago, it would have saved me a lot of time and printf statements as GDB is not easy to learn, unless you find that tutorial. It shows how powerfull GDB can be both clearly and very quickly.

Also found a few good debugging tips at http://blog.sanctum.geek.nz/series/unix-as-ide/ mentioning valgrind and ltrace as debugging tools. And a usefull read on tips for using unix in general even if you are not into debugging; although it didn’t mention screen :-).

About mark

At work, been working on Tandems for around 30yrs (programming + sysadmin), plus AIX and Solaris sysadmin also thrown in during the last 20yrs; also about 5yrs on MVS (mainly operations and automation but also smp/e work). At home I have been using linux for decades. Programming background is commercially in TAL/COBOL/SCOBOL/C(Tandem); 370 assembler(MVS); C, perl and shell scripting in *nix; and Microsoft Macro Assembler(windows).
This entry was posted in Unix. Bookmark the permalink.

One Response to GDB Debugger, great if you know how

  1. mark says:

    Update…. the direc.org URL no longer works, just says the domain name is available. Damb, wish I had saved all the info. It was the best tutorial I had even come across, now its gone.

Comments are closed.