Hacker News new | ask | show | jobs
by sklogic 3704 days ago
I'm 100% serious. Interactive debugging is hugely overrated. I am not aware of a debugging technique better than logging + contracts + asserts.
1 comments

For one, that forces you to change the code and recompile all the time. And some projects have huge recompile times.
And compiling in a debug mode also results in huge recompile times. Is it such a problem?

There is no big difference between building with contracts and logs on (log level is selected dynamically, no need to recompile) and building with debug symbols/suppressed optimisations.