News for hackers. Stuff that matters.
Re:The unreasonable effectiveness of print debugging by SAI_Peregrinus on Saturday April 24, 2021 @02:00PM (#26926927)
You can also do print debugging with a debugger. Just have a breakpoint that doesn't halt, but instead simply prints the values of interest to the debugger console. This is particularly nice for things like debugging interrupt handlers where the time taken to print output normally is too much to accept.
Re:The unreasonable effectiveness of print debugging by toxik on Saturday April 24, 2021 @03:26PM (#26927598)
Watched variables they were called once upon a time.

Also, I think what you suggest to do here is way harder to learn than printing.

Re:The unreasonable effectiveness of print debugging by saagarjha on Saturday April 24, 2021 @06:26PM (#26928719)
Perhaps, but that lends credence to the theory that people using print debugging may just not have learned how to effectively use a debugger yet.