The Art Of Debugging With GDB, DDD And Eclipse

Nov. 4, 2008
By Norman Matloff and Peter Jay Salzman

Debugging is definitely an art but, there are many brushes that can be used when painting an application. This book takes a look at three of the most used alternatives in embedded applications. These tools include the open source gdb, ddd, and Eclipse debuggers.

Most developers use only one debugger but it is quite handy to know about others. Likewise, you might want to consider a move from gdb to Eclipse or vice-versa depending upon the platform you might be debugging. This book provides an excellent contrast between each by showing how to perform the same function in each environment.

It helps to know at least how to use a typical debugger. It is even better if you know one of the debuggers covered in the book but that is not a requirement for getting a good deal from the book. Matloff and Salzman start with the basics and end up at the more advanced topics such as multithread and multicore debugging.

There is some coverage of other tools such as the Linux Trace Toolkit and static analysis tools like splint but the bulk of the material concentrates on the methodologies, advantages and disadvantages of the main debuggers. The authors cover common debugging problems such as segmentation faults in addition to common debugging pitfalls to avoid so this can be a useful learning tool for novice debuggers.

Sponsored Recommendations

The Importance of PCB Design in Consumer Products

April 25, 2024
Explore the importance of PCB design and how Fusion 360 can help your team react to evolving consumer demands.

PCB Design Mastery for Assembly & Fabrication

April 25, 2024
This guide explores PCB circuit board design, focusing on both Design For Assembly (DFA) and Design For Fabrication (DFab) perspectives.

What is Design Rule Checking in PCBs?

April 25, 2024
Explore the importance of Design Rule Checking (DRC) in manufacturing and how Autodesk Fusion 360 enhances the process.

Unlocking the Power of IoT Integration for Elevated PCB Designs

April 25, 2024
What does it take to add IoT into your product? What advantages does IoT have in PCB related projects? Read to find answers to your IoT design questions.

Comments

To join the conversation, and become an exclusive member of Electronic Design, create an account today!