Norm Matloff's Debugging Tutorial
Professor Norm Matloff
Dept. of Computer Science
University of California at Davis
Davis, CA 95616
(Please mail any questions to
Norm Matloff.)
Why waste huge amounts of time debugging? Do yourself
a favor and learn to debug like a professional. In this
Web page I have some resources which hopefully will be useful to you in that
regard.
- Our
featured item -- a slide show!!
Click here to download. bNote that the point is NOT the
technical details of DDD, but rather the general principles of
debugging.
- An introduction to the secret art of debugging. Shows
you the basic principles, leading you step-by-step in applying
those principles to debugging two sample programs.
- Click here if you wish to download the sample programs Ins.c,
InsLotsOfErrors.c (buggy version of
Ins.c) and Lnk.c.
Information on some specific
debugging tools:
- My selection
criteria:
- Free.
- Advanced features (e.g.
display of linked data structures).
- I prefer standalone
debuggers, not integrated development environments (IDEs) --- I
want to use my own favorite text editor -- but these IDEs are
good for those who prefer IDEs.
- Standalone debuggers:
- IDEs: KDevelop, Eclipse, NetBeans etc.
- Good use of a powerful text editor can speed up the
development/debugging process. Links:
- Links related to
debugging.
Other software Web sites by Norm
Matloff: