2 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. that reeaaallly depends. I
by 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.