As a registered member of SearchSoftwareQuality.com, you're entitled to a complimentary copy of Chapter 1 of The Art of Debugging with GDB, DDD, and Eclipse written by Norman Matloff and Peter Jay Salzman and published by No Starch Press. " Some Preliminaries for Beginners and Pros" presents an overview of the debugging process, the role of debugging tools, and walks through an extended debugging example.
The Art of Debugging with GDB, DDD, and Eclipse teaches readers how to effectively use the three most popular open source debugging tools: GDB, DDD, and Eclipse. The text-command based GDB (the GNU Project Debugger) is included with most Linux distributions. DDD is a popular GUI front end for GDB, while Eclipse provides a complete integrated development environment.
The book offers readers specific advice for debugging with each tool and explains general debugging strategies. Real world examples of coding errors help to clarify the authors' guiding principles, and readers will quickly understand why their programs crash or throw exceptions.
Readers will learn how to do the following:
- Inspect variables and data structures
- Understand segmentation faults and core dumps
- Use features like catchpoints, convenience variables, and artificial arrays
- Avoid common debugging pitfalls
- Prevent errors in the first place by making the best usage of editors, compilers, and static code checkers
The book also includes coverage of advanced topics like thread, client-server, GUI, and parallel programming. Whether readers dread the thought of debugging programs or simply want to improve their current debugging efforts, they'll find a valuable ally in The Art of Debugging with GDB, DDD, and Eclipse.
>> Buy the book