Refining Your Reproduction

Any means of reproducing the problem at all is better than none. But you’re aiming for a reproduction that is both reliable and convenient. You’re going to have to use it over and over again during diagnosis, so you need to be able to do so on demand and with minimal effort.

Minimizing the Feedback Loop

When running experiments to track your bug down, it’s important that these experiments are as efficient as possible. A completely reliable reproduction that takes more than an hour to run, or requires you to perform 50 different actions in the right sequence, is not efficient.

You want to be able to run lots of experiments quickly.

What you’re aiming for is the shortest and least error-prone edit-compile-execute-reproduce ...

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.