Originally Posted by dlorde
I must admit, it's a partly case of do as I say, not as I do :blush:
I use the debugger constantly - but I do always have a pencil and paper to hand, because I believe it's hard to use a debugger effectively without them. With experience, many of the simple bugs like off-by-one, it's-null-but-it-shouldn't-be, == not =, and == not equals() errors happen less often, and are easier to spot when they do, so student programmers have even more to gain more from p&p than experienced programmers - it took me some time to realise this when I was a student, so I try to pass it on.