Comment by themafia
> rather than guessing
I'm not guessing. I'm using my knowledge of the program and the error together to decide what to print. I never find the process laborious and I almost always get the right set of variables in the first debug run.
The only time I use a debugger is when working on someone else's code.
That's just an educated guess. You can also do it with a debugger.