4 ms·
I like printf-debugging because it's usually the fastest and has the least mental overhead. Even with IDEs and integrated debugging I find there's often a lot m
by Beltalowda 4y ago
I like printf-debugging because it's usually the fastest and has the least mental overhead. Even with IDEs and integrated debugging I find there's often a lot more overhead.
And when I do use a debugger I always just use it to inspect variables; quicker to just print those same variables: less steps, and especially works better if the same code will be run 10 times and I want to print those vars 10 times too.
I never found stepping over code useful in a debugger, and I tried to use it many times because surely it's useful for some, but turns out it's not for me.