GDB is a powerful debugger that is
available for free for most UNIX Operating Systems. The complete
documentation for GDB is available here.
Here is a video demo of the basic commands, available for
the ipod or
PSP (19 MB) and
in higher resolution (199 MB) (all variants are encoded in
H.264/MPEG-4 format). Its also available in GoogleVideo.
The demo refers to this program - prog.c. You may
also find this thread.c useful to
learn about threads debugging.
The videos and code are free for non-commercial use. If you find
them useful, please drop me a note at surendar@nd.edu.