Re:You say “cave dweller debugging”, I say debug logging
by halostatue on Friday May 06, 2022 @01:06PM
(#31287487)
I have had cases where it takes ~2 hours to hit a bug case. You cannot afford that time waiting for the debugger. You must achieve that with logging. You might be able to figure out, with that logging, how to hit the bug faster and then you can use the debugger to step through, but I have found the use of a debugger to be beneficial in fewer than 20% of bugs I am trying to solve.
[ Parent
| on HN ]
Re:You say “cave dweller debugging”, I say debug logging
by IshKebab on Friday May 06, 2022 @03:21PM
(#31288788)
That sounds like exactly the sort of situation where you really want to use a debugger! I'd rather wait 3 hours to hit the bug and have full access to everything than wait 2 hours and realise that I didn't log an important variable and have to start again.