DEV Community

Discussion on: Dude, get a debugger!

Collapse
 
nicolus profile image
Nicolas Bailly

There's a huge difference between "I don't have a debugger", and "we tend not to use debuggers beyond getting a stack trace or the value of a variable or two" which implies that they do use a debugger on a regular basis to get stack traces and variables, and that they occasionally use it for more in-depth debugging (hence the use of "tend").

Not every problem suddenly becomes a nail because you have a hammer, but you definitely need to have a hammer in your toolbox.

Collapse
 
srishanbhattarai profile image
Srishan Bhattarai

Sure. None of what I said contradicts what you're saying right now. I never said that a debugger isn't needed or isn't valuable. I even went out of my way to say that a debugger is perfect for many situations. Other times, log statements work. To discount their value by painting a picture that debuggers are always the solution is a bit misleading IMO.