News for hackers. Stuff that matters.
Re:The Debugging Mindset by Sean1708 on Monday April 03, 2017 @12:37PM (#14024299)
I 99% agree with you, I would 100% agree with you if you put step 6 between steps 3 and 4. In my opinion you should always (where possible) be able to deterministically and automatically recreate a bug before you even think about fixing it, the automatic part being your test. I say this because human nature being what it is you will forget how you recreated the bug, or your recreation will have a bunch of extraneous stuff in that really isn't needed.
Re:The Debugging Mindset by AstralStorm on Monday April 03, 2017 @04:27PM (#14026808)
Unless you can prove the kind of nondeterminism which triggers the bug. Sometimes it is much harder to write a testcase to reproduce a nondeterministic bug than proving formally that it isn't possible after the fix.