Re:Ask HN: Why are we not using debuggers more?
by roflyear on Thursday August 18, 2022 @03:19PM
(#32513753)
How do you step through your code to understand what EXACTLY is happening to the data without a debugger?
Re:Ask HN: Why are we not using debuggers more?
by anamax on Friday August 19, 2022 @08:57PM
(#32527947)
I haven't used a debugger in 20+ years.
If I don't understand what is happening to data without stepping, the code is too complicated.
If it's too complicated, I don't understand it now, won't understand it later, and it's probably wrong.
If I was working (again) in embedded systems, I might use a debugger as a substitute for print.
One nice property of asserts is that they keep working even when your attention is elsewhere.