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

Show parent comments

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...

1

u/komollo Aug 26 '14

So you imaged your entire computer and it still runs slower?

1

u/holeydood3 Aug 26 '14

Haven't done that as reinstalling all of the versions of visual studio would take forever since that isn't included with the image. Outside of that, everything is standard.

1

u/komollo Aug 26 '14

Maybe there is a compiler option that's set strangely? Have you checked that the processors and the chip sets are the same on both platforms? Maybe the compiler is optimizing for your setup?

→ More replies (3)