3 ms·
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 cons
by SAI_Peregrinus 6y ago
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.
- toxik 6y agoWatched variables they were called once upon a time. Also, I think what you suggest to do here is way harder to learn than printing.
- saagarjha 6y agoPerhaps, but that lends credence to the theory that people using print debugging may just not have learned how to effectively use a debugger yet.