3 ms·
I think this metaphor is somewhat wrong. Log files are like attaching medical imagers to the maze and keeping a trace of it's physical and mental state as it e
by smcq 17y ago
I think this metaphor is somewhat wrong.
Log files are like attaching medical imagers to the maze and keeping a trace of it's physical and mental state as it executes the maze. Debuggers are like attaching medical imagers to the rat and being able to only see the immediate state only.
Obviously, debuggers are much faster to bootstrap than good logging, and in that category I can see them being a clear win. However, I still see them as providing less information.
PS: That said, there are a few situations I bust out a debugger too. Mostly when I'm too lost to get started.