The Art of DeBugging with GDB, DDD, and Eclipse

( 6 )

Overview

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

See more details below
Other sellers (Paperback)
  • All (24) from $27.54   
  • New (11) from $28.55   
  • Used (13) from $27.54   
Art of Debugging: with GDB, DDD, and Eclipse

Available on NOOK devices and apps  
  • NOOK Devices
  • NOOK HD/HD+ Tablet
  • NOOK
  • NOOK Color
  • NOOK Tablet
  • Tablet/Phone
  • NOOK for Windows 8 Tablet
  • NOOK for iOS
  • NOOK for Android
  • NOOK Kids for iPad
  • PC/Mac
  • NOOK for Windows 8
  • NOOK for PC
  • NOOK for Mac
  • NOOK Study
  • NOOK for Web

Want a NOOK? Explore Now

NOOK Book (eBook)
$17.99
BN.com price
(Save 43%)$31.95 List Price

Overview

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.

Read More Show Less

Product Details

  • ISBN-13: 9781593271749
  • Publisher: No Starch Press San Francisco, CA
  • Publication date: 8/28/2008
  • Edition number: 1
  • Pages: 280
  • Sales rank: 1,088,621
  • Product dimensions: 6.90 (w) x 9.10 (h) x 0.80 (d)

Meet the Author

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

Read More Show Less

Table of Contents

PREFACE;
Chapter 1: SOME PRELIMINARIES FOR BEGINNERS AND PROS;
1.1 Debugging Tools Used in This Book;
1.2 Programming Language Focus;
1.3 The Principles of Debugging;
1.4 Text-Based vs. GUI-Based Debugging Tools, and a Compromise Between Them;
1.5 Main Debugger Operations;
1.6 Online Help;
1.7 Introductory Debugging Session;
1.8 Use of Startup Files;
Chapter 2: STOPPING TO TAKE A LOOK AROUND;
2.1 Mechanisms for Pause;
2.2 Overview of Breakpoints;
2.3 Keeping Track of Breakpoints;
2.4 Setting Breakpoints;
2.5 Extended GDB Example;
2.6 Persistence of Breakpoints;
2.7 Deleting and Disabling Breakpoints;
2.8 More on Viewing Breakpoint Attributes;
2.9 Resuming Execution;
2.10 Conditional Breakpoints;
2.11 Breakpoint Command Lists;
2.12 Watchpoints;
Chapter 3: INSPECTING AND SETTING VARIABLES;
3.1 Our Main Example Code;
3.2 Advanced Inspection and Setting of Variables;
3.3 Setting Variables from Within GDB/DDD/Eclipse;
3.4 GDB's Own Variables;
Chapter 4: WHEN A PROGRAM CRASHES;
4.1 Background Material: Memory Management;
4.2 Core Files;
4.3 Extended Example;
Chapter 5: DEBUGGING IN A MULTIPLE-ACTIVITIES CONTEXT;
5.1 Debugging Client/Server Network Programs;
5.2 Debugging Threaded Code;
5.3 Debugging Parallel Applications;
5.4 Extended Example;
Chapter 6: SPECIAL TOPICS;
6.1 What If It Doesn't Even Compile or Load?;
6.2 Debugging GUI Programs;
Chapter 7: OTHER TOOLS;
7.1 Making Good Use of a Text Editor;
7.2 Making Good Use of the Compiler;
7.3 Error Reporting in C;
7.4 Better Living with strace and ltrace;
7.5 Static Code Checkers: lint and Friends;
7.6 Debugging Dynamically Allocated Memory;
Chapter 8: USING GDB/DDD/ECLIPSE FOR OTHER LANGUAGES;
8.1 Java;
8.2 Perl;
8.3 Python;
8.4 Debugging SWIG Code;
8.5 Assembly Language;
COLOPHON;

Read More Show Less

Customer Reviews

Average Rating 4
( 6 )
Rating Distribution

5 Star

(4)

4 Star

(1)

3 Star

(0)

2 Star

(0)

1 Star

(1)

Your Rating:

Your Name: Create a Pen Name or

Barnes & Noble.com Review Rules

Our reader reviews allow you to share your comments on titles you liked, or didn't, with others. By submitting an online review, you are representing to Barnes & Noble.com that all information contained in your review is original and accurate in all respects, and that the submission of such content by you and the posting of such content by Barnes & Noble.com does not and will not violate the rights of any third party. Please follow the rules below to help ensure that your review can be posted.

Reviews by Our Customers Under the Age of 13

We highly value and respect everyone's opinion concerning the titles we offer. However, we cannot allow persons under the age of 13 to have accounts at BN.com or to post customer reviews. Please see our Terms of Use for more details.

What to exclude from your review:

Please do not write about reviews, commentary, or information posted on the product page. If you see any errors in the information on the product page, please send us an email.

Reviews should not contain any of the following:

  • - HTML tags, profanity, obscenities, vulgarities, or comments that defame anyone
  • - Time-sensitive information such as tour dates, signings, lectures, etc.
  • - Single-word reviews. Other people will read your review to discover why you liked or didn't like the title. Be descriptive.
  • - Comments focusing on the author or that may ruin the ending for others
  • - Phone numbers, addresses, URLs
  • - Pricing and availability information or alternative ordering information
  • - Advertisements or commercial solicitation

Reminder:

  • - By submitting a review, you grant to Barnes & Noble.com and its sublicensees the royalty-free, perpetual, irrevocable right and license to use the review in accordance with the Barnes & Noble.com Terms of Use.
  • - Barnes & Noble.com reserves the right not to post any review -- particularly those that do not follow the terms and conditions of these Rules. Barnes & Noble.com also reserves the right to remove any review at any time without notice.
  • - See Terms of Use for other conditions and disclaimers.
Search for Products You'd Like to Recommend

Recommend other products that relate to your review. Just search for them below and share!

Create a Pen Name

Your Pen Name is your unique identity on BN.com. It will appear on the reviews you write and other website activities. Your Pen Name cannot be edited, changed or deleted once submitted.

 
Your Pen Name can be any combination of alphanumeric characters (plus - and _), and must be at least two characters long.

Continue Anonymously
Sort by: Showing all of 6 Customer Reviews
  • Anonymous

    Posted June 8, 2014

    To sam you lose

    You lose

    Was this review helpful? Yes  No   Report this review
  • Anonymous

    Posted June 8, 2014

    SETH TO SAM

    TODAY IS THE LAST DAY TO POST SYMBOLS IF YOU HAVE ANYMORE POST THEM! I WILL &#10003 THE DATE TO MAKE SURE YOU DONT POST ANY TOMORROW AND I WILL TELL YOU WHO WINS!

    Was this review helpful? Yes  No   Report this review
  • Anonymous

    Posted June 8, 2014

    Sam ~ More symbols

    &#22219 &#22222 &#22221 &#28902 &#28904 &#28905 &#28907 &#28908 &#28909 &#28900 &#9650 &#9651 &#9654 &#9655 &#9658 &#9660 &#9661 &#9664 &#9665 &#9668 &#9670 &#9671 &#9672 &#9674 &#9675 &#9678 &#9679 &#9680 &#9681 &#9688 &#9689 &#9698 &#9699 &#9700 &#9701 &#9702 &#22218 &#22214 &#22216 &#22217 &#22213 &#22211 &#22210 &#22209 &#22208 &#22206 &#22205 &#22204 &#22244 &#22243 &#22242 &#22241 &#22240 &#22239 &#22238 &#22237 &#22235 &#22234 &#22232 &#22231 &#22228 &#22227 &#22225 &#222245 &#8254 &#9581 &#9582 &#9583 &#9584 &#9585 &#9586 &#9587 &#9588 &#9600 &#9601 &#9602 &#9603 &#9604 &#9605 &#9606 &#9607 &#9608 &#9609 &#9610 &#9611 &#9612 &#9613 &#9614 &#9615 &#9616 &#9617 &#9618 &#9619 &#9620 &#9621 &#9632 &#9633 &#9635 &#9636 &#9637 &#9638 &#9639 &#9640 &#9641 &#9642 &#9570 &#9571 &#9572 &#9573 &#9574 &#9575 &#9576 &#9577 &#9578 &#9579 &#506 &#507 &#508 &#509 &#510 &#900 &#901 &#902 &#903 &#904 &#905 &#906 &#908 &#910 &#911 &#912 &#536 &#537 &#538 &#539 &#710 &#711 &#713 &#714 &#715 &#717 &#720 &#728 &#729 &#730 &#731 &#732 &#8727 &#12566 &#8501 &#8700 &#8702 &#8703 &#8704 &#8705 &#8706 &#8709 &#8712 &#8713 &#8715 &#8716 &#8730 &#8735 &#8736 &#8743 &#8744 &#8745 &#8746 &#8747 &#8748 &#1024 &#1025 &#1026 &#1027 &#1028 &#1029 &#1030 &#1031 &#1032 &#1033 &#1034 &#1035 &#1036 &#1037 &#1038 &#1039 &#1040 &#1041 &#1042 &#1043 &#1044 &#1045 &#1046 &#1047 &#1048 &#1049 &#1050 &#1051 &#1052 &#1053 &#1054 &#1055 &#1056 &#1057 &#1058 &#1059 &#1060 &#1061 &#1062 &#1063 &#1064 &#1065 &#1066 &#1067 &#1068 &#1069 &#1070 &#1071 &#1072 &#1073 &#1074 &#1075 &#1076 &#1077 &#1078 &#1079 &#1080 &#1081 &#1082 &#1083 &#1084 &#1085 &#1086 &#1087 &#1088 &#1089 &#1090 &#1091 &#1092 &#1093 &#1094 &#1095 &#1096 &#1097 &#1098 &#1099 &#1100 &#1101 &#1102 &#1103 &#1104 &#1105 &#1106 &#1107 &#1108 &#1109 &#1110 &#1111 &#1112 &#1113 &#1114 &#1115 &#1116 &#1117 &#1118 &#1119 &fnof &image &weierp &#9372 &#9373 &#89374 &#9375 &#9376 &#9377 &#9378 &#9379 &#9380 &#9381 &#9382 &#9383 &#9384 &#9385 &#9386 &#9387 &#9388 &#9389 &#9390 &#9391 &#9392 &#9393 &#9394 &#9395 &#9396 &#9397 &#9643 &#9644 &#22247 &#22250 &#22251 &#22253 &#22255 &#22257 &#22256 &#22258 &#22259 &#22260 &#22261 &#22263 &#22265 &#22266 &#22269 &#22270 &#22271 &#22272 &#22273 &#22274 &#22275 &#22276 &#22278 &#22279 &#22280 &#22281 &#1168 &#1169 &#10004 &#10005 &#8531 &#8532 &#8539 &#8540 &#8541 &#8542 &#8544 &#8545 &#8546 &#8547 &#8548 &#8549 &#8550 &#8551 &#8552 &#8553 &#8554 &#8555 &#8560 &#8561 &#8562 &#8563 &#8564 &#8565 &#8566 &#8567 &#8568 &#8569 &#8201 &#8204 &#8205 &#8206 &#8207 &#8208 &#8209 &#8210 &#8211 &#8212 &#8213 &#8214 &#8215 &#8216 &#8217 &#8218 &#8221 &#8222 &#8223 &#8224 &#8225 &#8226 &#8231 &#8233 &#8234 &#8236 &#8750 &#8756 &#8757 &#8758 &#8759 &#8764 &#8765 &#8773 &#8776 &#8780 &#8786 I might post more at the next res.

    Was this review helpful? Yes  No   Report this review
  • Anonymous

    Posted October 6, 2013

    Stormheart

    Cries and licks his sisters pelt and barries her and runs to the camp

    Was this review helpful? Yes  No   Report this review
  • Anonymous

    Posted March 13, 2013

    Sw

    AWSOME! You write good. I like the story so far but what happens next? Don't leave me hanging!

    Was this review helpful? Yes  No   Report this review
  • Anonymous

    Posted March 13, 2013

    Wavekit

    Cool!

    Was this review helpful? Yes  No   Report this review
Sort by: Showing all of 6 Customer Reviews

If you find inappropriate content, please report it to Barnes & Noble
Why is this product inappropriate?
Comments (optional)