11 ms·
Debuggers have features like watchpoints, which cannot be emulated in any form using print statements. Also, many codebases are not set up to provide a decent s
by jedbrown 14y ago
Debuggers have features like watchpoints, which cannot be emulated in any form using print statements. Also, many codebases are not set up to provide a decent stack trace without using a debugger. Features like watchpoints allow you to think about the debugging process in a very different way and can turn many otherwise difficult bugs into 30-second fixes.
- nuclear_eclipse 14y ago> Also, many codebases are not set up to provide a decent stack trace without using a debugger. Is that not a problem of the codebase, language, and/or debugging system being used than a problem with printing/logging?