News for hackers. Stuff that matters.
Re:Don't Look Down on Print Debugging by kazinator on Saturday November 23, 2024 @10:13AM (#42221323)
I've never been able to successfully debug anything with a conditional breakpoint or watch, in spite of knowing about these things and trying.

(Well, other than my own conditional breakpoint features built into the code, doing things like programmatically trigger a breakpoint whenever an object with a specific address (that being settable in the debugger interactively) passes certain points in the garbage collector.)

Re:Don't Look Down on Print Debugging by dgfitz on Saturday November 23, 2024 @01:25PM (#42222613)
I work on a codebase daily that has multiple threads per app, and two event loops.

We have successfully sorted out how to manage both loops, and set effective breakpoints to debug efficiently. We also log extensively.

I know it’s possible because I do it every day.