News for hackers. Stuff that matters.
Re:The Grug Brained Developer (2022) by recursivedoubts on Tuesday June 17, 2025 @09:53PM (#44305954)
I think a lot of “naturals” find visual debuggers pointless, but for people who don’t naturally intuit how a computer works it can be invaluable in building that intuition.

I insist that my students learn a visual debugger in my classes for this reason: what the "stack" really is, how a loop really executes, etc.

It doesn't replace thinking & print debugging, but it complements them both when done properly.

Re:The Grug Brained Developer (2022) by ItsHarper on Tuesday June 17, 2025 @10:35PM (#44306168)
Agreed, I spent a lot more time using debuggers when I was getting started
Re:The Grug Brained Developer (2022) by sethjgore on Tuesday June 17, 2025 @09:57PM (#44305980)
What do you mean “visual debugger?”
Re:The Grug Brained Developer (2022) by recursivedoubts on Tuesday June 17, 2025 @11:48PM (#44306496)
the intellij debugger, for example, as opposed to a command line debugger
Re:The Grug Brained Developer (2022) by porridgeraisin on Tuesday June 17, 2025 @10:20PM (#44306097)
In vscode when you step to the next statement it highlights in the left pane the variables that change. Something like that.

It's useful for a beginner e.g in a for loop to see how `i` changes at the end of the loop. And similarly with return values of functions and so on.

Re:The Grug Brained Developer (2022) by XorNot on Tuesday June 17, 2025 @10:12PM (#44306069)
Presumably an IDE rather then dealing the gdb CLI.
Re:The Grug Brained Developer (2022) by knome on Wednesday June 18, 2025 @12:02AM (#44306554)
I don't often need gdb, but I appreciate the emacs mode that wraps it every time.
Re:The Grug Brained Developer (2022) by travisgriggs on Tuesday June 17, 2025 @11:27PM (#44306420)
I think it depends on the debugger and the language semantics as well. Debugging in Swift/Kotlin, so so. The Smalltalk debugger was one of the best learning tools I ever used. “Our killer app is our debugger” doesn’t win your language mad props though.
Re:The Grug Brained Developer (2022) by baobun on Wednesday June 18, 2025 @12:26AM (#44306649)
Might be something to this. I relied heavily on IDE debugger and was integral part of my workflow for a while as a yungin and but very rare that I bother these days (not counting quick breaks in random webapps).

Perhaps been underappreciating the gap in mental intuition of the runtime between then and now and how much the debugger helped to bridge.