Difference between revisions of "The Art of Debugging with GDB, DDD, and Eclipse"

From eLinux.org
Jump to: navigation, search
(created this book page)
 
(added book image thumb, left aligned, 150px)
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
== The Art of Debugging with GDB, DDD, and Eclipse ==
 
== The Art of Debugging with GDB, DDD, and Eclipse ==
 +
[[File:The_Art_of_Debugging_with_GDB_DDD_and_Eclipse.jpg|thumb|left|150px]]
 +
''' [http://oreilly.com/catalog/9781593271749/ Norman Matloff, Peter Jay Salzman, No Starch Press, ISBN-13: 978-1593271749] '''
  
''' Norman Matloff, Peter Jay Salzman, No Starch Press, ISBN-13: 978-1593271749 '''
+
Description from [[http://www.amazon.com/dp/1593271743 Amazon]]:
  
Description from [[http://www.amazon.com/dp/1593271743 | Amazon.com]]:
+
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.
 
 
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:
 
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
    * Inspect variables and data structures
+
* Understand segmentation faults and core dumps
    * Understand segmentation faults and core dumps
+
* Know why your program crashes or throws exceptions
    * Know why your program crashes or throws exceptions
+
* Use features like catchpoints, convenience variables, and artificial arrays
    * Use features like catchpoints, convenience variables, and artificial arrays
+
* Avoid common debugging pitfalls
    * 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.
 
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.
Line 21: Line 20:
 
==== Comments ====
 
==== Comments ====
  
[[Kaa-ching]] says:
+
[[User:Kaa-ching]] says:
 
Matloff does a great job at introducing a great piece of debuggging software, present why and how you want to use it and goes into details about almost anything you can do with GDB or with the graphical front-ends DDD or Eclipse.
 
Matloff does a great job at introducing a great piece of debuggging software, present why and how you want to use it and goes into details about almost anything you can do with GDB or with the graphical front-ends DDD or Eclipse.
 
The book is very readable and easy to follow and contains many great examples. This book really is worth your money.
 
The book is very readable and easy to follow and contains many great examples. This book really is worth your money.
  
 
[[Category:Books]]
 
[[Category:Books]]

Latest revision as of 07:49, 9 May 2010

The Art of Debugging with GDB, DDD, and Eclipse

The Art of Debugging with GDB DDD and Eclipse.jpg

Norman Matloff, Peter Jay Salzman, No Starch Press, ISBN-13: 978-1593271749

Description from [Amazon]:

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.


Comments

User:Kaa-ching says: Matloff does a great job at introducing a great piece of debuggging software, present why and how you want to use it and goes into details about almost anything you can do with GDB or with the graphical front-ends DDD or Eclipse. The book is very readable and easy to follow and contains many great examples. This book really is worth your money.