3 ms·
Speaking of time.. I inherited a bug that only showed up the last 5 minutes of an hour. Except I didn't know that. The first time I worked on it, I reproduce
by acomjean 11y ago
Speaking of time..
I inherited a bug that only showed up the last 5 minutes of an hour. Except I didn't know that. The first time I worked on it, I reproduced the error but before I got the debugger started the time went by and the new hour caused the bug to go away...(why does this bug not show when the debugger is on?)
Eventually by hand tracing I figured it out.. Some weird time function was rounding the minutes to the nearest 10 minutes. When the time crept past 55 minutes rounded up to 60 and passed to a time function that didn't like...
Only bug that was harder was a serial cable with flipped wires. Which kinda worked, but gave out garbage. We figured that out with a scope.