News for hackers. Stuff that matters.
Re:The Grug Brained Developer (2022) by jmull on Wednesday June 18, 2025 @09:44AM (#44309836)
I find the differences between printf debugging and line debuggers (or whatever you call them) unimportant in most circumstances.

Line debuggers usually have some nice conveniences, but the major bottlenecks are between the ears, not in the tool.

Re:The Grug Brained Developer (2022) by voidUpdate on Wednesday June 18, 2025 @09:47AM (#44309857)
I usually use a normal debugger to find a problem when I can see its symptoms but not the original caus. That way I can break on the line that is causing the symptom, check what the variables are like and go back up the call stack to find the origin of the incorrect state. I can do all that in one shot (maybe a couple if I need to break somewhere else instead) rather than putting prints everywhere to try and work out what the call stack is, and a load of prints to list off all the local variables