Skip to product information
1 of 1
Regular price £44.49 GBP
Regular price £50.99 GBP Sale price £44.49 GBP
Sale Sold out
Free UK Shipping

Freshly Printed - allow 10 days lead

Why Programs Fail
A Guide to Systematic Debugging

The award-winning guide to faster and easier debugging is now updated with the latest tools and techniques

Andreas Zeller (Author)

9780123745156, Elsevier Science

Paperback / softback, published 22 July 2009

544 pages, Approx. 200 illustrations
23.4 x 19 x 3.4 cm, 0.71 kg

Praise from the experts for the first edition: "In this book, Andreas Zeller does an excellent job introducing useful debugging techniques and tools invented in both academia and industry. The book is easy to read and actually very fun as well. It will not only help you discover a new perspective on debugging, but it will also teach you some fundamental static and dynamic program analysis techniques in plain language." --Miryung Kim, Software Developer, Motorola Korea

"Today every computer program written is also debugged, but debugging is not a widely studied or taught skill. Few books beyond this one present a systematic approach to finding and fixing programming errors." --James Larus, Microsoft Research

"From the author of ODD, the famous data display debugger, now comes the definitive book on debugging. Zeller's book is chock-full with advice, insight, and tools to track down defects in programs, for all levels of experience and any programming language. The book is lucidly written, explaining the principles of every technique without boring the reader with minutiae. And best of all, at the end of each chapter it tells you where to download all those fancy tools. A great book for the software professional as well as the student interested in the frontiers of automated debugging." --Walter F. Tichy, Professor, University Karlsruhe, Germany

"Andreas Zeller's Why Programs Fail lays an excellent foundation far practitioners, educators, and researchers alike. Using a disciplined approach based on the scientific method, Zeller provides deep insights, detailed approaches, and illustrative examples." --David Notkin, Professor Computer Science & Engineering, University of Washington

Why Programs Fail: A Guide to Systematic Debugging is proof that debugging has graduated from a black art to a systematic discipline. It demystifies one of the toughest aspects of software programming, showing clearly how to discover what caused software failures, and fix them with minimal muss and fuss.

The fully updated second edition includes 100+ pages of new material, including new chapters on Verifying Code, Predicting Erors, and Preventing Errors. Cutting-edge tools such as FindBUGS and AGITAR are explained, techniques from integrated environments like Jazz.net are highlighted, and all-new demos with ESC/Java and Spec#, Eclipse and Mozilla are included.

This complete and pragmatic overview of debugging is authored by Andreas Zeller, the talented researcher who developed the GNU Data Display Debugger(DDD), a tool that over 250,000 professionals use to visualize the data structures of programs while they are running. Unlike other books on debugging, Zeller's text is product agnostic, appropriate for all programming languages and skill levels.

The book explains best practices ranging from systematically tracking error reports, to observing symptoms, reproducing errors, and correcting defects. It covers a wide range of tools and techniques from hands-on observation to fully automated diagnoses, and also explores the author's innovative techniques for isolating minimal input to reproduce an error and for tracking cause and effect through a program. It even includes instructions on how to create automated debugging tools.

The text includes exercises and extensive references for further study, and a companion website with source code for all examples and additional debugging resources is available.

1. How Failures Come to Be 2. Tracking Problems 3. Making Programs Fail 4. Reproducing Problems 5. Simplifying Problems 6. Scienti?c Debugging 7. Deducing Errors 8. Observing Facts 9. Tracking Origins 10. Asserting Expectations 11. Detecting Anomalies 12. Causes and E?ects 13. Isolating Failure Causes 14. Isolating Cause-E?ect Chains 15. Fixing the Defect

Appendix: Formal De?nitions A.1 Delta Debugging A.2 Memory Graphs A.3 Cause-E?ect Chains

Subject Areas: Software Engineering [UMZ], Computer programming / software development [UM]

View full details