Archived post: posted sometime between 2016 and 2022.

Why do you write to console instead of using a debugger?

Note : When I find bugs, I put them outside, in the garden, instead of killing them; bugs are people too.

It can be painful to watch me troubleshoot without a debugger. Colleges have encouraged me to "get a real IDE."

So, why do I not use a debugger? Thoughts, off the top of my head:

Debuggers

Console Logging

Those are my ideas. A few other programmers think similarly. E.g. Uncle Bob (Robert C. Martin) once wrote this :

IMHO a debugger is a tool of last resort.

That's pretty much how I see it. Breathless, exasperated, the humble developer looked at his pairing partner, "Okay. Let's bring out the debugger."