Controlling Inputs

Your software’s inputs may be files on disc, sequences of user interface operations, or responses from third-party servers or hardware. Whatever form they take, the key is to first identify them so that you can then replay them exactly.

If you’re lucky, the relevant inputs will be specified in the bug report, but this isn’t always the case. It may be obvious to you that a bug report needs to enumerate every step involved, but your customers are unlikely to realize the importance of doing so. Or they may allow their preconceptions about how the software works (which may bear very little resemblance to what really goes on under the hood) to color their description.

Even if the user has conscientiously reported everything ...

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.