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

What are the Important Considerations when Assessing Cobot Safety?

April 16, 2024
A review of the requirements of ISO/TS 15066 and how they fit in with ISO 10218-1 and 10218-2 a consideration the complexities of collaboration.

Wire & Cable Cutting Digi-Spool® Service

April 16, 2024
Explore DigiKey’s Digi-Spool® professional cutting service for efficient and precise wire and cable management. Custom-cut to your exact specifications for a variety of cable ...

DigiKey Factory Tomorrow Season 3: Sustainable Manufacturing

April 16, 2024
Industry 4.0 is helping manufacturers develop and integrate technologies such as AI, edge computing and connectivity for the factories of tomorrow. Learn more at DigiKey today...

Connectivity – The Backbone of Sustainable Automation

April 16, 2024
Advanced interfaces for signals, data, and electrical power are essential. They help save resources and costs when networking production equipment.

Comments

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