3 ms·
prints don't give you an idea of the global state of an app at a given time, this can be tiresome to solve bugs like that, a debugger is essential. I use the cl
by y04nn 5y ago
prints don't give you an idea of the global state of an app at a given time, this can be tiresome to solve bugs like that, a debugger is essential. I use the classic stuff: gdb (with python-scripts and gef) for C/C++, ipdb for python, and `debugger` statements for browser and nodejs development.
- kalleboo 5y agoYeah it's easy to miss something obviously wrong with print debugging if there's something you're not printing (because "obviously it can't be that!")