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.

About the Author

William G. Wong | Senior Content Director - Electronic Design and Microwaves & RF

I am Editor of Electronic Design focusing on embedded, software, and systems. As Senior Content Director, I also manage Microwaves & RF and I work with a great team of editors to provide engineers, programmers, developers and technical managers with interesting and useful articles and videos on a regular basis. Check out our free newsletters to see the latest content.

You can send press releases for new products for possible coverage on the website. I am also interested in receiving contributed articles for publishing on our website. Use our template and send to me along with a signed release form. 

Check out my blog, AltEmbedded on Electronic Design, as well as his latest articles on this site that are listed below. 

You can visit my social media via these links:

I earned a Bachelor of Electrical Engineering at the Georgia Institute of Technology and a Masters in Computer Science from Rutgers University. I still do a bit of programming using everything from C and C++ to Rust and Ada/SPARK. I do a bit of PHP programming for Drupal websites. I have posted a few Drupal modules.  

I still get a hand on software and electronic hardware. Some of this can be found on our Kit Close-Up video series. You can also see me on many of our TechXchange Talk videos. I am interested in a range of projects from robotics to artificial intelligence. 

Sponsored Recommendations

Comments

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