3 ms·
> loading gdb may take two minutes while recompiling to add a printf only 3-4 seconds To be clear I’m not talking about adding some specific print statements t
by coddle-hark 6y ago
> loading gdb may take two minutes while recompiling to add a printf only 3-4 seconds
To be clear I’m not talking about adding some specific print statements to the code while debugging, I’m talking about keeping those statements in production code.
Of course, there’s cases where logging might be your only option. In that case: Go for it!