Debug It!

Find, Repair, and Prevent Bugs in Your Code

by: Paul Butcher

Published 2009-11-04
Internal code pbdp
Print status In Print
Pages 232
User level Intermediate
Keywords debugging, debug, Java, fix, coding, bugs, defects, metrics, TDD, test-driven development, TFD, test-first development
Related titles

Practices of an Agile Developer 978-0-9745140-8-6
Release It! 978-0-9787392-1-8
Ship It! 978-0-9745140-4-8

ISBN 9781934356289
Other ISBN Kindle: 9781680501018
Safari: 9781680500110
Kindle: 9781680501018
BISACs COM051010 COMPUTERS / Programming Languages / General
COM051000 COMPUTERS / Programming / General
COM051000 COMPUTERS / Programming / General

Highlight

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.

Description

Debug It! will equip you with the tools, techniques, and approaches to help you tackle any bug with confidence. These secrets of professional debugging illuminate every stage of the bug life cycle, from constructing software that makes debugging easy; through bug detection, reproduction, and diagnosis; to rolling out your eventual fix.

Whether you’re writing Java or assembly language, targeting servers or embedded micro- controllers, or using agile or traditional approaches, the same basic bug-fixing principles apply.

You’ll learn an empirical approach that 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 how to avoid common pitfalls. You’ll see how to use commonly available tools to automatically detect problems before they’re reported by customers. You’ll construct “self-debugging” software that automatically provides access to crucial internal information and identifies the broken assumptions that lead to bugs.

Contents and Extracts

Full Table of Contents