The Developer's Guide to Debugging is a book for both professional software developers seeking to broaden their skills and students that want to learn the tricks of the trade from the ground up. With small examples and exercises it is well suited to accompany a CS course or lecture. At the same time it can be used as a reference guide to address problems as the need arises.
This book goes beyond the level of simple source code debugging scenarios. In addition, it covers the most frequent real-world problems from the areas of program linking, memory access, parallel processing and performance analysis. The picture is completed by chapters covering static checkers and techniques to write code that leans well towards debugging. While the focus lies on C and C++, one can apply many techniques described here to programs written in other languages.
Inhalt
You Write Software; You have Bugs.- A Systematic Approach to Debugging.- Getting to the Root - Source Code Debuggers.- Fixing Memory Problems.- Profiling Memory Use.- Solving Performance Problems.- Debugging Parallel Programs.- Finding Environment and Compiler Problems.- Dealing with Linking Problems.- Advanced Debugging.- Writing Debuggable Code.- How Static Checking Can Help.- Summary.