↓ Skip to main content

“I don’t totally disagree, but I do want to point out that print debugging has one critical feature that most step-based debuggers don’t have: you can see program state from multiple time steps all at once.”

Geoffrey Littbuttondown.email ↗

Debugger vendors call printf the lazy option. It isn’t. A wall of log lines shows the whole run at once, and a step debugger shows one frozen moment. Decades of IDE work still haven’t beaten a print statement at the job most people actually need done.