Chapter 5Reflect

Bug fixing, by its very nature, tends to be tightly focused. You’re working on a very specific problem, and the chances are that, more often than not, the fix will involve an isolated area of code. Despite this narrow focus, you need to keep your eye on the big picture. To that end, it’s well worth taking a few moments of reflection after implementing your fix.

In this chapter, we’ll consider the following:

  • How did it ever work?

  • When and why did the problem slip through the cracks?

  • Ensuring that the problem never happens again.

Get Debug It! 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.