+353-1-416-8900REST OF WORLD
+44-20-3973-8888REST OF WORLD
1-917-300-0470EAST COAST U.S
1-800-526-8630U.S. (TOLL FREE)

Why Programs Fail. A Guide to Systematic Debugging

  • Book

  • December 2005
  • Elsevier Science and Technology
  • ID: 1765768
Why Programs Fail is about bugs in computer programs, how to find them, how to reproduce them, and how to fix them in such a way that they do not occur anymore. This is the first comprehensive book on systematic debugging and covers a wide range of tools and techniques ranging from hands-on observation to fully automated diagnoses, and includes instructions for building automated debuggers. This discussion is built upon a solid theory of how failures occur, rather than relying on seat-of-the-pants techniques, which are of little help with large software systems or to those learning to program. The author, Andreas Zeller, is well known in the programming community for creating the GNU Data Display Debugger (DDD), a tool that visualizes the data structures of a program while it is running.

Table of Contents

How Failures Come to Be; Tracking Problems; Reproducing Problems; Simplifying Problems; Scientific Method; Deducing Errors; Observing Facts; Tracking Origins; Asserting Expectations; Detecting Anomalies; Causes and Effects; Isolating Failure Causes; Isolating Cause-Effect Chains; Fixing the Defect; Appendix A Formal Definitions; A.1 Delta Debugging; A.2 Memory Graphs; A.3 Cause-Effect Chains; Glossary; Bibliography; Index

Authors

Andreas Zeller Saarland University, Saarbruecken, Germany. Andreas Zeller is a full professor for Software Engineering at Saarland University in Saarbruecken, Germany. His research concerns the analysis of large software systems and their development process; his students are funded by companies like Google, Microsoft, or SAP. In 2010, Zeller was inducted as Fellow of the ACM for his contributions to automated debugging and mining software archives. In 2011, he received an ERC Advanced Grant, Europe's highest and most prestigious individual research grant, for work on specification mining and test case generation. His book "Why programs fail", the "standard reference on debugging", obtained the 2006 Software Development Jolt Productivity Award.