10/12/2010

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

Debug It!: Find, Repair, and Prevent Bugs in Your CodeBook Description
If you develop software, sooner or later you’re going to discover that it doesn’t always behave as you intended. Working out why it’s misbehaving can be hard. Sometimes very hard. Debug It! is here to help!

All bugs are different: there is no silver bullet. You’ve got to rely upon your intellect, intuition, detective skills and yes, even a little luck. But that doesn’t mean that you’re completely on your own-there is much you can learn from those who have gone before. This book distills decades of hard-won experience gained in the trenches of professional software development, giving you a head-start and arming you with the tools you need to get to the bottom of the problem, whatever you’re faced with.

Whether you’re writing Java or assembly language, targeting servers or embedded micro-controllers, using agile or traditional approaches, the same basic bug-fixing principles apply. From constructing software that is easy to debug (and incidentally less likely to contain bugs in the first place), through handling bug reports to rolling out your ultimate fix, we’ll cover the entire life-cycle of a bug.

You’ll learn about the empirical approach, which leverages your software’s unique ability to show you what’s really happening, the importance of finding a reliable and convenient means of reproducing a bug, and common pitfalls so you can avoid them. You’ll see how to use commonly available tools to automatically detect problems before they’re reported by customers and how to construct “transparent software” that provides access to critical information and internal state.

About the Author
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!

Book Details

  • Paperback: 275 pages
  • Publisher: Pragmatic Bookshelf (November 15, 2009)
  • Language: English
  • ISBN-10: 193435628X
  • ISBN-13: 978-1934356289
  • File Size: 1.9 MiB
  • Hits: 2,275 times