the real debugging technique is you find the people who brag about never using debuggers, and don't work with them
-
-
- 3 more replies
New conversation -
-
-
That article is a very weak argument against debuggers and I was disappointed to see it getting a lot of thumbs up.
-
I think a debugger allows you to explore the problem, which is very valuable if you have no idea what happened.
-
A debugger is not just for fixing problems, it's for confirming your understanding even when there are no bugs.
-
disagree. If you want to confirm your understanding, add an assert() describing your understanding.
-
I use asserts liberally. And when an assert fails, I use the debugger to inspect the state. :)
-
I use printfs to inspect the state, and the power of the PC to use Perl, grep, sort, uniq to analyze.
-
Calling printf modifies that state though, which can be bad.
-
only if you’re chasing a code generation bug. I’m usually more worried about impacting timing.
- 2 more replies
New conversation -
-
-
You'll never be able to see the full picture solely through code inspection, it seems counter productive to not use one.
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
navigation by printf requires fast compile + reload times. Databreakpoints are awesome
- 1 more reply
New conversation -
-
-
@Code_Analysis Debugging isn't just inspection. It's dialog with the machine. Change instruction ptr, e.g, is very powerful.Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
not using a debugger when available, is like plowing a field with bare hands with a tractor parked in front of you.
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
@Code_Analysis Channel your inner Ken Thompson, John! http://www.informit.com/articles/article.aspx?p=1941206 …Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
At low-level: essential, for some devs: more useful than harmful, for a wide swath: totally nerfs their ability to read code.
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
100% agreed with you. Programmers who don't use debuggers are forsaking a valuable tool
@gravislizard@Code_AnalysisThanks. Twitter will use this to make your timeline better. UndoUndo
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.