Chapter 8. Debugging

Table of Contents
8.1. About This Chapter
8.2. About Debugging
8.3. Methods of Debugging
8.4. Log Files, Bug Reports, and Collecting Data

8.1. About This Chapter


"As soon as we started programming, we found out to our surprise that it wasn't as easy to get programs right as we had thought. Debugging had to be discovered. I can remember the exact instant when I realized that a large part of my life from then on was going to be spent in finding mistakes in my own programs."

-- Maurice Wilkes  

This essay comprises my thoughts on debugging and development process. I've gone out of my way to simplify it and take out a lot of the personal opinions I have so that's it's not overly ideological. Just keep that in mind while reading this chapter. It's less "fact" and more "best practices as I see them".