@[email protected] to Programmer [email protected] • 2 years ago6 stages of debuggingi.imgur.comimagemessage-square28fedilinkarrow-up1445arrow-down14
arrow-up1441arrow-down1image6 stages of debuggingi.imgur.com@[email protected] to Programmer [email protected] • 2 years agomessage-square28fedilink
minus-square@[email protected]linkfedilinkEnglish11•2 years agoAnd then the logging fixes the subtle timing issue causing the problem.
minus-square@[email protected]linkfedilink7•2 years agoWe have logging software built in, but I can never remember how to turn it on, so I just console.log
minus-square@[email protected]linkfedilink4•edit-22 years agoStep 4.6: Get another drive for the logs.
Stage 4.5: console.log() everything.
And then the logging fixes the subtle timing issue causing the problem.
Race conditions are the worst
Good ol’ Heisenbugs.
We have logging software built in, but I can never remember how to turn it on, so I just console.log
Step 4.6: Get another drive for the logs.
“Oh…that’s why it’s not working”