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

Conditional breakpoints that run a script and continue can be used equivalently to printf debugging, just set it to print when the selected line is hit. You can do this without restarting the application, even for multithreaded code.

Also watchpoints, for the equivalent but at a memory location instead of a code line.

Debugger != breakpoints.



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: