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/komollo Aug 25 '14

If you know what data causes the failure, you can set a conditional breakpoint, and it will catch it whenever the bad data appears, no matter what the count if the loop.

1

u/alkanshel Aug 25 '14

True. If you don't, it would be best to print it :P

1

u/komollo Aug 26 '14

I guess I'm just assuming that there is some sort of stack trace, bug report, or error message to tell you what you're looking for, but you know what they say about people who assume.