3 ms·
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 y
by neogodless 1y ago
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.