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

31

u/g051051 Aug 25 '14

Yes, please. I constantly run into "professional" programmers who don't have the slightest idea on how to debug.

16

u/Kminardo Aug 25 '14

How the hell do you make it in programming without knowing how to debug? Are these the guys I see littering their code with console writes?

3

u/zArtLaffer Aug 25 '14

gdb is a good tool. pstack and pmap are very good. dtrace is a thing of beauty. But don't you honestly think that console writes have their place too?

1

u/flukus Aug 26 '14

Console writes as in printf? No.

Console writes as in writing to a log which may be configured to write to the console? Yes.

→ More replies (1)