HAPPY HOLIDAYS: Get a special discount on Apress Access! Subscribe today >>

Bug Patterns in Java

Authors: Allen, Eric

Download source code

Buy this book

Softcover $34.99
price for USA
  • ISBN 978-1-59059-061-4
  • Free shipping for individuals worldwide
  • This title is currently reprinting. You can pre-order your copy now.
About this book

Bug Patterns in Java presents a methodology for diagnosing and debugging computer programs. The act of debugging will be presented as an ideal application of the scientific method. Skill in this area is entirely independent of other programming skills, such as designing for extensibility and reuse. Nevertheless, it is seldom taught explicitly. Eric Allen lays out a theory of debugging, and how it relates to the rest of the development cycle. In particular, he stresses the critical role of unit testing in effective debugging. At the same time, he argues that testing and debugging, while often conflated, are properly considered to be distinct tasks.

Upon laying this groundwork, Allen then discusses various "bug patterns" (recurring relationships between signaled errors and underlying bugs in a program) that occur frequently in computer programs. For each pattern, the book discusses how to identify them, how to treat them, and how to prevent them.

About the authors

Eric Allen has a bachelor's degree in computer science and mathematics from Cornell University, and is a Ph.D. candidate in the Java programming languages team at Rice University. His research concerns the development of semantic models and static analysis tools for the Java language, both at the source and bytecode levels. Currently, Eric is constructing a compiler for the NextGen programming language, an extension of the Java language with added language features. He has also moderated the Java Beginner discussion forum at JavaWorld and is a project manager of DrJava, an open-source Java IDE designed for beginners.

Buy this book

Softcover $34.99
price for USA
  • ISBN 978-1-59059-061-4
  • Free shipping for individuals worldwide
  • This title is currently reprinting. You can pre-order your copy now.

Services for this book

Bibliographic Information

Bibliographic Information
Book Title
Bug Patterns in Java
Authors
Copyright
2002
Publisher
Apress
Copyright Holder
Eric Allen
Softcover ISBN
978-1-59059-061-4
Edition Number
1
Number of Pages
XIX, 264
Topics