The Debugger

Status
Not open for further replies.
Ha, thanks for the suggestion, but I already heavily rely on the Perl and JavaScript debuggers at work. I dearly miss them when I do Haskell at home.

A lot of my co-workers don't use one. "I haven't used one since college" is what I hear often. I want to get a sense of what is normal. I am toying with the idea of writing a "debugging Perl" tutorial and suggesting to the architects that it become required reading for all new developers. I don't want to waste anyone's time with one of my idiosyncratic predilections.

Does anyone *not* use an interactive debugger?
 

ShuggyCoUk

Ars Legatus Legionis
10,387
Subscriptor++
All the time for a while, then not at all for a while.

As the compilers/language get more sophisticated I find debuggers less and less helpful (when the code executing ceases to look anything like the actual code you wrote it gets very hard to keep things in sync meaningfully).

I'd hate not to have one at all though, even for the hairy bits.

One of the most useful things for me actually is the debugger complaining about source files not matching the executing code. Instant "Ah, that's why something's not working" moment.
 

technophile

Ars Legatus Legionis
23,768
For compiled code (C#) I use a debugger very little. If I can't tell what's wrong via visual inspection, I try to refactor the code so it's easier to visualize. I'm sure my amount of .Net debugger use will change in 2 weeks when I start a new job and have to learn a completely new, 10-year-old codebase, though. ;)

For JavaScript, I use it quite a bit more, because JS is harder to correctly modularize and harder to reason about in some ways. <3 the Chrome WebDev tools.


As far as "what is a debugger", Wikipedia has a definition, but I would say it's a program that allows you to interactively inspect a "live" (where live can be currently running or a crash dump, i.e. you're inspecting the program state as it is/was when running) process and optionally modify its state.
 
Status
Not open for further replies.