12

So today I lost around two hours because I solved a bug before trying to reproduce it 👏👏👏
The client reports the bug, I open up VS and already go to the source file that might be affecting it, see a variable assignment that was just outside of the If statement it was supposed to be in, and after that I try to reproduce the error.
Guys, please, be smarter than me next time.

Comments
  • 2
    Try to undo it and check whether the bug you captured is the root cause for the reported bug.
    Recently, I fixed a bug which used to happen sometimes only due to a asynchronous processing. I thought the bug was gone 5 months back, realized yesterday that it wasn't. Finally, did a fix.
  • 1
    @github I undid it in the end and confirmed that was the faulty part. But it took me a very long time because I just moved 3 tiny lines and forgot about it when reproducing
  • 0
    @oscarascal haha. That's nice that you considered verifying that your change fixed it.
    In many cases, I just do git status or git diff to identify if my workspace is untouched and no changes made in case I forgot about them.
Add Comment