News for hackers. Stuff that matters.
Re:The unreasonable effectiveness of print debugging by forrestthewoods on Saturday April 24, 2021 @04:21PM (#26927989)
> Speed of iteration beats quality of iteration.

Right. That’s why printf debugging sucks.

If you’re in a compiled language with a 2-minute iteration it can take an hour to do a binary search to track down an issue that would take 5 minutes with a proper step debugger.

Print debugging is great because it works and is the ultimate fallback. But it sucks and I hate when I am forced to use it.

There are no comments on this comment yet.