Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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.


Yeah 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!")




Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: