3 ms·
If you have a timing related issue fixed by a debugger it's probably going to be fixed by printing/logging too.
by maccard 6y ago
If you have a timing related issue fixed by a debugger it's probably going to be fixed by printing/logging too.
- majewsky 6y agoNot at all. Stepping through a function with a debugger usually takes on the order of seconds and minutes. Printing some stuff in the function usually takes on the order of microseconds or milliseconds. That's a difference of at least three, possibly eight or nine orders of magnitude. It's very easy to imagine a timing-related issue that's affected by a delay of X seconds, but not a delay of X microseconds (RPC calls are typically on the order of milliseconds, for instance).