3 ms·
> I try to understand the code and keep it in my memory so that I could predict the behaviour without the debugger. That's the theme I hear when prodding peopl
by corysama 11y ago
> I try to understand the code and keep it in my memory so that I could predict the behaviour without the debugger.
That's the theme I hear when prodding people who (sometimes loudly) say they don't use debuggers. They work on codebases that are either small, solo projects, or change very slowly. That way they can keep an accurate simulation of the entire program in their heads.
Meanwhile, I've always worked on codebases that were changing faster than I can keep up. The majority of my debugger time has been in code I've never seen before.
- neverminder 11y agoNot necessarily. For instance, my colleagues work with a fairly large codebase in java which runs on top of a framework written in scala. When they tried to hook up a debugger it drilled the whole stack top to the bottom, naturally and showed them whole lot of scala code. Problem is, these guys don't now scala, only java.
- collyw 11y agoMy debugger shows a full stacktrace too. I usually ignore the Django code that's its written on top of and use it in the sections I have written. I don't find it a hindrance in any way seeing what part of the Django code called my code.