The Art of Debugging with GDB, DDD and Eclipse

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 Debuggingis your guide to making the debugging process more efficient and effective.

Read more

The Art of Debuggingillustrates 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.

Audience
adult
Length
medium · 280 pages

Click a tag to see books like this one that share it. Point at it (on a phone, tap it) for less of it instead.

Read it? Sign in to help tag it.

Liked The Art of Debugging with GDB, DDD and Eclipse? Here’s where I’d start.

These suit anyone who liked The Art of Debugging with GDB, DDD and Eclipse. Sign in and mark a few books for picks shaped around your own taste.

  1. Programming in C Shares programming, computer science, technical
  2. Tmux: Productive Mouse-Free Development Shares programming, linux, technical
  3. C for Dummies Shares programming, computer science
  4. Practical Vim: Edit Text at the Speed of Thought Shares programming, computer science, linux

“If you want more of the same (science), start with these.”

  1. Quantum Physics: A Beginner's Guide
  2. Genetics of Populations
  3. Exploring Creation with Human Anatomy and Physiology
  4. Mathematics: The Science of Patterns: The Search for Order in Life, Mind and the Universe

“If it was the programming that hooked you, try one of these.”

  1. Concurrency in C# Cookbook
  2. Kotlin in Action
  3. Programming in Lua
  4. Programming Entity Framework: DbContext

“These start from a similar idea, even if they go somewhere else with it.”

  1. Head First Programming: A Learner's Guide to Programming Using the Python Language
  2. Real World OCaml: Functional programming for the masses
  3. ERLANG Programming
  4. Beginning Programming with Java for Dummies