Book description
Debugging is crucial to successful software development, but even many experienced programmers find it challenging. Sophisticated debugging tools are available, yet it may be difficult to determine which features are useful in which situations. The Art of Debugging is your guide to making the debugging process more efficient and effective.
The Art of Debugging illustrates the use three of the most popular debugging tools on Linux/Unix platforms: GDB, DDD, and Eclipse. The text-command based GDB (the GNU Project Debugger) is included with most distributions. DDD is a popular GUI front end for GDB, while Eclipse provides a complete integrated development environment.
In addition to offering specific advice for debugging with each tool, authors Norm Matloff and Pete Salzman cover general strategies for improving the process of finding and fixing coding errors, including how to:
- Inspect variables and data structures
- Understand segmentation faults and core dumps
- Know why your program crashes or throws exceptions
- Use features like catchpoints, convenience variables, and artificial arrays
- Avoid common debugging pitfalls
Real world examples of coding errors help to clarify the authors' guiding principles, and coverage of complex topics like thread, client-server, GUI, and parallel programming debugging will make you even more proficient. You'll also learn how to prevent errors in the first place with text editors, compilers, error reporting, and static code checkers.
Whether you dread the thought of debugging your programs or simply want to improve your current debugging efforts, you'll find a valuable ally in The Art of Debugging.
Publisher resources
Table of contents
-
THE ART OF DEBUGGING WITH GDB, DDD, AND ECLIPSE
- PREFACE
- 1. SOME PRELIMINARIES FOR BEGINNERS AND PROS
- 2. STOPPING TO TAKE A LOOK AROUND
- 3. INSPECTING AND SETTING VARIABLES
- 4. WHEN A PROGRAM CRASHES
- 5. DEBUGGING IN A MULTIPLE-ACTIVITIES CONTEXT
- 6. SPECIAL TOPICS
- 7. OTHER TOOLS
- 8. USING GDB/DDD/ECLIPSE FOR OTHER LANGUAGES
- COLOPHON
Product information
- Title: The Art of Debugging with GDB, DDD, and Eclipse
- Author(s):
- Release date: September 2008
- Publisher(s): No Starch Press
- ISBN: 9781593271749
You might also like
book
Modern CMake for C++
Write comprehensive, professional-standard CMake projects and ensure the quality and simplicity of your solutions Purchase of …
book
Command-Line Rust
Updated in 2024: A new version has been released that simplifies the programs used in the …
book
C++ Concurrency in Action, Second Edition
This bestseller has been updated and revised to cover all the latest changes to C++ 14 …
book
CMake Cookbook
Learn CMake through a series of task-based recipes that provide you with practical, simple, and ready-to-use …