News for hackers. Stuff that matters.
Re:The Grug Brained Developer (2022) by neogodless on Wednesday June 18, 2025 @09:06AM (#44309565)
Yeah I think it's really addressing different bug issues.

One is finding a needle in a haystack - you have no idea when or where the bug occurred. Presumably your logging / error report didn't spit out anything useful, so you're starting from scratch. That and race conditions. Then print statements can be lovely and get you started.

Most of my debugging is a different case where I know about where in code it happened, but not why it happened, and need to know values / state. A few breakpoints before/during/after my suspected code block, add a few watches, and I get all the information I need quite quickly.

There are no comments on this comment yet.