by codingdave · 7y ago · 0 comments
I've seen coders spend hours debugging problems, stepping through line-by-line in their IDE, and not finding the problem. Then when I suggest they stop, step through the creation of the bug, and just think about what algorithms and data changes are occurring at each step, they often have an epiphany and realize where the problem must lie.
By all means, use the tools that are at our disposal, but the most important part of debugging is simply to think.
All the prior exploration probably often lays the foundation for that epiphany, though.