3 ms·
"prints" give you an immediate picture of the whole execution, if you place them properly. A debugger leaves you isolated in one specific part of the code and y
by Ambolia 4y ago
"prints" give you an immediate picture of the whole execution, if you place them properly. A debugger leaves you isolated in one specific part of the code and you have to crawl out of there with navigation tools that usually are not very good.
The only time I find debuggers useful is if you can tell the issue from the current value of the variables, or if the issue has already been isolated to something like a tight loop of 10-20 lines that are doing a tricky operation.