did-you-know? rent-now

Amazon no longer offers textbook rentals. We do!

did-you-know? rent-now

Amazon no longer offers textbook rentals. We do!

We're the #1 textbook rental company. Let us show you why.

9781934356289

Debug It! : Find, Repair, and Prevent Bugs in Your Code

by
  • ISBN13:

    9781934356289

  • ISBN10:

    193435628X

  • Edition: 1st
  • Format: Paperback
  • Copyright: 2009-11-15
  • Publisher: Oreilly & Associates Inc
  • Purchase Benefits
  • Free Shipping Icon Free Shipping On Orders Over $35!
    Your order must be $35 or more to qualify for free economy shipping. Bulk sales, PO's, Marketplace items, eBooks and apparel do not qualify for this offer.
  • eCampus.com Logo Get Rewarded for Ordering Your Textbooks! Enroll Now
List Price: $34.95 Save up to $1.05
  • Buy New
    $33.90

    USUALLY SHIPS IN 2-3 BUSINESS DAYS

Supplemental Materials

What is included with this book?

Summary

Professional programmers develop a knack of unerringly zeroing in on the root cause of a bug. They can do that because they've written a lot of buggy code and then gained experience fixing it. This book captures all this experience-use it, and you'll find you write fewer bugs, and the ones you do write will become easier to hunt down.

Author Biography

Paul Butcher started out writing games for 8-bit home computers before he was a teenager, and since then has worked in diverse fields at all levels of abstraction, from microcode on bit-slice processors to high-level declarative programming and all points in between. He's been using agile approaches for the last several years, although had adopted many of the same techniques before the agile movement gave them a name. Paul's depth of experience derives from a history of working for startups in which he's had the privilege of working with several great teams on cutting edge technology.

In an attempt to demonstrate that he's at least as fast as Lewis Hamilton, Paul totaled his race-car last year. So no more playing with expensive toys for the time being-but he will be back on track soon!

Table of Contents

Prefacep. xi
About This Bookp. xi
Acknowledgmentsp. xii
The Heart of the Problemp. 1
A Method in the Madnessp. 3
Debugging Is More Than "Making the Bug Go Away"p. 3
The Empirical Approachp. 5
The Core Debugging Processp. 6
First Things Firstp. 7
Put it in Actionp. 11
Reproducep. 13
Reproduce First, Ask Questions Laterp. 13
Controlling the Softwarep. 15
Controlling the Environmentp. 16
Controlling Inputsp. 18
Refining Your Reproductionp. 26
What If You Really Can't Reproduce It?p. 35
Put It in Actionp. 38
Diagnosep. 39
Stand Back-I'm Going to Try Sciencep. 39
Stratagemsp. 46
Debuggersp. 52
Pitfallsp. 53
Mind Gamesp. 57
Validate Your Diagnosisp. 62
Put it in Actionp. 63
Fixp. 65
Clearing the Decksp. 66
Testingp. 67
Fix the Cause, Not the Symptomsp. 69
Refactoringp. 71
Checking inp. 73
Get Your Code Reviewedp. 74
Put it in Actionp. 75
Reflectp. 77
How Did it Ever Work?p. 77
What Went Wrong?p. 78
It'll Never Happen Againp. 81
Close the Loopp. 84
Put it in Actionp. 85
The Bigger Picturep. 87
Discovering That You Have a Problemp. 89
Tracking Bugsp. 89
Working with Usersp. 94
Working with Support Staffp. 99
Put it in Actionp. 101
Pragmatic Zero Tolerancep. 103
Bugs Take Priorityp. 103
The Debugging Mind-Setp. 106
Digging Yourself Out of a Quality Holep. 108
Put it in Actionp. 113
Debug-Fup. 115
Special Casesp. 117
Patching Existing Releasesp. 117
Backward Compatibilityp. 118
Concurrencyp. 123
Heisenbugsp. 125
Performance Bugsp. 127
Embedded Softwarep. 129
Bugs in Third-Party Softwarep. 132
Put it in Actionp. 137
The Ideal Debugging Environmentp. 139
Automated Testingp. 139
Source Controlp. 142
Automatic Buildsp. 147
Put it in Actionp. 155
Teach Your Software to Debug Itselfp. 157
Assumptions and Assertionsp. 157
Debugging Buildsp. 167
Resource Leaks and Exception Handlingp. 172
Put it in Actionp. 179
Anti-patternsp. 181
Priority Inflationp. 181
Prima Donnap. 182
Maintenance Teamp. 184
Firefightingp. 186
Rewritep. 187
No Code Ownershipp. 189
Black Magicp. 189
Put it in Actionp. 190
Resourcesp. 193
Source Control and Issue-Tracking Systemsp. 193
Build and Continuous Integration Toolsp. 196
Useful Librariesp. 198
Other Toolsp. 200
Bibliographyp. 205
Indexp. 207
Table of Contents provided by Ingram. All Rights Reserved.

Supplemental Materials

What is included with this book?

The New copy of this book will include any supplemental materials advertised. Please check the title of the book to determine if it should include any access cards, study guides, lab manuals, CDs, etc.

The Used, Rental and eBook copies of this book are not guaranteed to include any supplemental materials. Typically, only the book itself is included. This is true even if the title states it includes any access cards, study guides, lab manuals, CDs, etc.

Rewards Program