Recreate the bug before fixing it
Before you start fixing a bug. Make sure you can recreate it.
Before changing the first line of code always reproduce the bug.
Without having the same indata and getting the bug and the same indata and not getting the bug you can never be sure it is fixed.
Tags: solid code