Richard said:
No, funny enough they were.
Not my reading, guv.
And this is what kicked off this
"debate". At least two regular contributors expressed derision that
anyone would ever need a debugger because "printf" was sufficient :
If you think one of them was me, then I haven't been clear enough.
I haven't said, and don't claim, that no-one should /ever/ need a
debugger [where by "debugger" I mean a manually-operated code-tracing
and breakpointing and watchpointing tool].
It was, if I recall, /you/ who were astonished that some of us don't
make - or need - routine use of a debugger, and that on the occasions
where we want code to report what it's doing, we have the code report
what it's doing using printf (or moral equivalents like logging).
I routinely don't use a debugger, because I routinely don't hit
situations where I need one.
/Personally/, I think routine use of a debugger -- eg, to walk through
new code to see what it's doing -- is a complete waste of my time.
If it works for you, well, ok, it works for you -- but you seem
as unwilling to accept my lack-of-need-for as I am to accept your
need-for ... "at least there is symmetry".
My ability to think and
design was questioned since I felt the need to use a debugger at any
stage in my products' development
No more than other's ability was questioned because they didn't
routinely deploy debuggers.
: apparently good logic and a keen
eye should iron out all bugs without needing to resort to manual
register/variable inspection.
/All/ is an over-statement. /Most/ is fine. And it's not "good logic
and a keen eye": it's good logic, a keen eye, constructive formatting
options, incremental development, test suites, simple design, coverage
tools, etc. Don't make the differences in our positions to be more,
and more absolute, than they are.