4 ms·
I usually don't use the debugger when doing programming, usually using print statements except when doing Smalltalk. Rather than saying not using a debuggers i
by hboon 18y ago
I usually don't use the debugger when doing programming, usually using print statements except when doing Smalltalk.
Rather than saying not using a debuggers is better, maybe it is that most debuggers are just not so good. Or it could also be that most of us are just not so good with using debuggers.
- stcredzero 18y agoFew debuggers are as good as the VisualWorks Smalltalk debugger. I've also seen people get into loops when not using the debugger. I think the rule is to 1) understand as much as you can 2) when you get stuck, switch. Also, monkeypatching is one of the most awesome debugging tools! Your code fails only for that one Profile object? Then monkeypatch it with a special debugging version of a method. Debugging does hand in hand with dynamic languages. It's like Smalltalk/Ruby/Python are just giamongous debuggers.
- hboon 18y agoVisualWorks isn't the only Smalltalk (with a good debugger). If you are on Windows, try Dolphin. Squeak/Pharo is pretty decent once you get used to it.