Join Amazon Prime and ship Two-Day for free and Overnight for $3.99. Already a member? Sign in.

 

or
Sign in to turn on 1-Click ordering.
 
 
More Buying Choices
46 used & new from $16.00

Have one to sell? Sell yours here
 
   
The Art of Debugging with GDB, DDD, and Eclipse
 
 
Tell the Publisher!
I’d like to read this book on Kindle

Don’t have a Kindle? Get yours here.
 
  

The Art of Debugging with GDB, DDD, and Eclipse (Paperback)

by Norman Matloff (Author), Peter Jay Salzman (Author)
Key Phrases: program crashes, seg fault, void printtree, New Thread, Multiple Activities Context, Other Tools (more...)
5.0 out of 5 stars See all reviews (3 customer reviews)

List Price: $39.95
Price: $34.81 & this item ships for FREE with Super Saver Shipping. Details
You Save: $5.14 (13%)
In Stock.
Ships from and sold by Amazon.com. Gift-wrap available.

Want it delivered Tuesday, July 14? Choose One-Day Shipping at checkout. Details
30 new from $16.50 16 used from $16.00

Best Value

Buy The Art of Debugging with GDB, DDD, and Eclipse and get Web Security Testing Cookbook: Systematic Techniques to Find Problems Fast at an additional 5% off Amazon.com's everyday low price.

The Art of Debugging with GDB, DDD, and Eclipse + Web Security Testing Cookbook: Systematic Techniques to Find Problems Fast
Buy Together Today: $59.88

Show availability and shipping details


Customers Who Bought This Item Also Bought

GDB Pocket Reference (Pocket Reference (O'Reilly))

GDB Pocket Reference (Pocket Reference (O'Reilly))

by Arnold Robbins
4.0 out of 5 stars (2)  $9.95
The Developer's Guide to Debugging

The Developer's Guide to Debugging

by Thorsten Grötker
4.7 out of 5 stars (10)  $79.11
Valgrind 3.3 - Advanced Debugging and Profiling for GNU/Linux applications

Valgrind 3.3 - Advanced Debugging and Profiling for GNU/Linux applications

by J Seward
5.0 out of 5 stars (1)  $17.56
Professional Linux Kernel Architecture (Wrox Programmer to Programmer)

Professional Linux Kernel Architecture (Wrox Programmer to Programmer)

by Wolfgang Mauerer
4.0 out of 5 stars (5)  $40.49
The Definitive Guide to GCC, Second Edition

The Definitive Guide to GCC, Second Edition

by William von Hagen
3.9 out of 5 stars (9)  $44.99
Explore similar items

Editorial Reviews

Product 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.

About the Author
Norman Matloff, a computer science professor at UC Davis, is the author of several popular public-domain software packages and online tutorials.

Peter Jay Salzman earned his PhD in physics from UC Davis and founded the Linux Users Group of Davis. He is currently a programmer with a Wall Street financial firm.


Product Details

  • Paperback: 280 pages
  • Publisher: No Starch Press; illustrated edition edition (September 29, 2008)
  • Language: English
  • ISBN-10: 1593271743
  • ISBN-13: 978-1593271749
  • Product Dimensions: 9.2 x 6.9 x 0.9 inches
  • Shipping Weight: 1.2 pounds (View shipping rates and policies)
  • Average Customer Review: 5.0 out of 5 stars See all reviews (3 customer reviews)
  • Amazon.com Sales Rank: #286,759 in Books (See Bestsellers in Books)

    Popular in these categories: (What's this?)

    #16 in  Books > Computers & Internet > Programming > Languages & Tools > Debugging
    #86 in  Books > Computers & Internet > Programming > Software Design, Testing & Engineering > Testing

Inside This Book (learn more)

What Do Customers Ultimately Buy After Viewing This Item?

The Art of Debugging with GDB, DDD, and Eclipse
83% buy the item featured on this page:
The Art of Debugging with GDB, DDD, and Eclipse 5.0 out of 5 stars (3)
$34.81
Debugging
5% buy
Debugging 4.8 out of 5 stars (19)
$16.15
The Developer's Guide to Debugging
4% buy
The Developer's Guide to Debugging 4.7 out of 5 stars (10)
$79.11
Gray Hat Python: Python Programming for Hackers and Reverse Engineers
4% buy
Gray Hat Python: Python Programming for Hackers and Reverse Engineers 4.0 out of 5 stars (6)
$26.37

Tags Customers Associate with This Product

 (What's this?)
Click on a tag to find related items, discussions, and people.
Check the boxes next to the tags you consider relevant or enter your own tags in the field below.
(5)
(2)
(2)
(1)

Your tags: Add your first tag
 
Help others find this product — tag it for Amazon search
No one has tagged this product for Amazon search yet. Why not be the first to suggest a search for which it should appear?

Sell a Digital Version of This Book in the Kindle Store

If you are a publisher or author and hold the digital rights to a book, you can sell a digital version of it in our Kindle Store. Learn more

 

Customer Reviews

3 Reviews
5 star:
 (3)
4 star:    (0)
3 star:    (0)
2 star:    (0)
1 star:    (0)
 
 
 
 
 
Average Customer Review
5.0 out of 5 stars (3 customer reviews)
 
 
 
 
Share your thoughts with other customers:
Most Helpful Customer Reviews

 
10 of 11 people found the following review helpful:
5.0 out of 5 stars Quite a gem!, February 2, 2009
By Mark K. (California, USA) - See all my reviews
I must come clean first - I know the authors. Peter asked me to review one of the sections in the book many ages ago when the book was in its infancy. The book has progressed much since then, and I must admit this is much more than I was expecting from a book about debugging!

Chapters 1 through 3 are the starter chapters that discuss the core debugging paradigms such as breakpoints and variable analysis. Chapter 1 goes through some of the basic concepts of debugging for those new to the idea (e.g., hobbyists and just-out-of-college programmers) but it's probably less useful for those already familiar with the concept. Chapter 2 goes through the basic debugging operations, such as setting breakpoints and analyzing variables, with an emphasis on how breakpoints can be set, cleared, and triggered using various methods. Chapter 3 goes through more on how variables of different storages can be viewed and displayed.

Chapters 4 and 5 are where things start to get interesting. Chapter 4 discusses how the debugger can be used to analyze core dumps, and touches on operating system concepts just enough to be productive in debugging for those not familiar with OS architectures. Chapter 5 discusses debugging threaded applications. As examples, applications written using popular multi-threaded and multi-process libraries such as pthread, MPI, and OpenMP are discussed, which makes the chapter more practical.

Chapter 6 is an interesting chapter. Section 6.1 goes through some common compiler error messages and how one should interpret them. They're concepts all first semester programming course students should read. It should be read either before chapter 1 or immediately after for beginning programmers, but it's also an entertaining section to read for the experienced programmers who goes through what the section discusses on a daily basis without ever giving it a second thought anymore. Section 6.2 should be a great read for anyone whose hair turned gray trying to debug Curses or NCurses applications under UNIX.

Chapter 7 discusses various tricks programmers use to write less buggy programs. Most of these are widely known concepts that are rarely taught in class - Vim tricks for matching parentheses, syntax highlighting, using errno and perror, libraries for catching buffer overflows, etc. Mentioning of the __LINENO__ directive is strangely lacking in this chapter, and I'm not sure how useful lint is these days but the chapter looks as complete as one would expect. The chapter also delightfully introduces strace and ltrace, though more examples would be helpful for those not familiar with OS concepts.

The final chapter is for those that want to use GDB/DDD/Eclipse in other languages. I have never felt the need to use debuggers with scripts but I probably would sing a different tune once I start using it.

The book admittedly has a Linux slant to it, but practical examples need a practical platform under which to give the examples and Linux is as accessible as it gets for most people. Most of the discussions are applicable in any platform, but they are especially applicable in Linux and UNIX variants. Chapters 1 and 6 should be a part of all introductory programming courses and should provide a good starting point to which a seasoned programmer can point a new programmer. The remaining chapters are relatively easy read yet packed with useful information to which programmers will refer back asking themselves, "what was that command that does ...?"
Comment Comment | Permalink | Was this review helpful to you? Yes No (Report this)



 
3 of 7 people found the following review helpful:
5.0 out of 5 stars Worth the price (many times over!), January 30, 2009
I found this book to be an excellent introduction to debugging with GDB. However, this book takes you beyond merely an introduction but also to a fairly advanced level. I highly recommend this book.
Comment Comment | Permalink | Was this review helpful to you? Yes No (Report this)



 
2 of 6 people found the following review helpful:
5.0 out of 5 stars Great Resource For Linux/Unix Developers, December 5, 2008
By Daniel McKinnon (Tewksbury, MA USA) - See all my reviews
(TOP 500 REVIEWER)      
'The Art of Debugging with GDB, DDD, and Eclipse' is a great book for developers who work primarily on the Linux/Unix side of things and want to improve their debugging skillset. Packed with 250+ pages of material spread over 8 chapters, you will learn the basics of how to debug, what to look for, how to deal with major issues and all the goodies! If you are primarily a developer outside the .NET world, this is a good resource to read and learn from.

***** RECOMMENDED
Comment Comment | Permalink | Was this review helpful to you? Yes No (Report this)


Share your thoughts with other customers: Create your own review
 
 
 
Only search this product's reviews



Customer Discussions

 Beta (What's this?)
New! See all customer communities, and bookmark your communities to keep track of them.
This product's forum (1 discussion)
  Discussion Replies Latest Post
Is this book ever going to get published? 7 September 2008
See all discussions...  
Start a new discussion
Topic:
First post:
Prompts for sign-in
  [Cancel]


Active discussions in related forums
   


Product Information from the Amapedia Community

Beta (What's this?)



Look for Similar Items by Category


Summer Sales

Omaha Steaks Hamburgers
Shop the summer food sale and save up to 50% on salsas and spreads, steaks and burgers, seafood, oils and vinegars, and desserts, only at Amazon Gourmet.

See all sale items

 

Best Books of 2008

Best of 2008
Find our top 100 editors' picks as well as customers' favorites in dozens of categories in our Best Books of 2008 Store.
 

Buy Three Books, Get a Fourth Free

4-for-3 Books
Order any four eligible books under $10 and get the lowest-price book free in our 4-for-3 Books Store. See more details.
 

Best Books

Best of the Month
See our editors' picks and more of the best new books on our Best of the Month page.
 

 

Feedback

If you need help or have a question for Customer Service, contact us.
 Would you like to update product info or give feedback on images?
Is there any other feedback you would like to provide?

Your comments can help make our site better for everyone.


Where's My Stuff?

Shipping & Returns

Need Help?

Your Recent History

  (What's this?)
You have no recently viewed items or searches.

After viewing product detail pages or search results, look here to find an easy way to navigate back to pages you are interested in.

Look to the right column to find helpful suggestions for your shopping session.

Continue shopping: Top Sellers
Paranoia
Paranoia by Joseph Finder
My Soul to Lose
My Soul to Lose by Rachel Vincent
Finger Lickin' Fifteen
Finger Lickin' Fifteen by Janet Evanovich
Glenn Beck's Common Sense

Conditions of Use | Privacy Notice © 1996-2009, Amazon.com, Inc. or its affiliates