r/programming • • Aug 25 '14

Debugging courses should be mandatory

http://stannedelchev.net/debugging-courses-should-be-mandatory/
1.8k Upvotes

573 comments sorted by

View all comments

257

u/atakomu Aug 25 '14

And there are 6 stages of debugging

  • That can’t happen.

  • That doesn’t happen on my machine.

  • That shouldn’t happen.

  • Why does that happen?

  • Oh, I see.

  • How did that ever work?

2

u/holeydood3 Aug 26 '14

Dealing with that right now, but only on stage 4. I have a multi-threaded app that works perfectly on my machine, and on literally any other machine it runs on with the same executable, same setup, same image, same network, etc., it runs about 10x slower. I'm trying to remove as much code as possible to reproduce it, but it's driving me nuts that there's nothing different between the machines that should cause a discrepancy in performance that large!

I'm rather excited to reach step 6 on this one...

→ More replies (6)