A Scientific Approach to Debugging

Students go to classes for years to learn how to design computer systems and to learn how to write programs, but they usually have exactly zero hours of instruction in techniques of debugging. It is expected that their ability to debug system problems will somehow magically develop as they learn how to write code. To an extent, this is a reasonable expectation. Most computer professionals develop debugging skills as a side effect of their programming, but the results vary wildly, running the gamut from little or no debugging ability to bonfire guru status.

The problem with this "learning by osmosis" approach is that debugging becomes more black art than science. It depends heavily upon past experience with systems ...

Get Informix DBA Survival Guide, Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.