3 ms·
except it's much faster to put a few breakpoints than to recompile your code each time you want to add/remove a logging statement.
by john_moscow 8y ago
except it's much faster to put a few breakpoints than to recompile your code each time you want to add/remove a logging statement.
- jcelerier 8y ago> except it's much faster to put a few breakpoints than to recompile your code each time you want to add/remove a logging statement. that reeaaallly depends. I had cases where adding a printf and recompiling would take mere seconds and a gdb startup on the order of 3 to 4 minutes because recompiling only changes one shared library while GDB has to load all of them.
- khitchdee 8y agoIf you don't use a debugger, you don't need an IDE either. A text editor and a compiler is all you need. That simplifies your programming interface a lot.