6 stages of debugging: 5. Oh, I see
The ah-ha moment. Something clicked into place.
You know why the bug occurred, and sometimes you know right away how to fix it.
Aside from the realization and fixing the bug, consider:
- How can you prevent this type of bug in the future?
- Will your fix introduce the risk of more bugs?
- How can you share what you learned with your team?
- What can you do to speed up future investigations?
Hopefully you got the satisfaction of solving a puzzle, some new knowledge or insight, and built upon your debugging intuition.
Just one more stage to go!