Chapter 4Fix

So, you’ve completed your diagnosis. It’s time to pat yourself on the back—chances are that you’ve completed the hardest part of your task. Now that you understand the problem, fixing it should be a breeze.

Be careful, however. Up until now, your focus has been on doing whatever it takes to work out just what exactly has been going on and why your software has been misbehaving. You’ve created ad hoc experiments, modified code to insert logging, forced error conditions, or otherwise bent the software to your will. You’ve cultivated a deliberately creative, open frame of mind as you’ve thought up and subsequently proved or disproved various different hypotheses.

Now you’re about to embark on an altogether different kind of exercise. ...

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.