sellingspams@feddit.de to Programmer Humor@lemmy.ml · 1 year ago6 stages of debuggingi.imgur.comimagemessage-square27fedilinkarrow-up1441arrow-down14
arrow-up1437arrow-down1image6 stages of debuggingi.imgur.comsellingspams@feddit.de to Programmer Humor@lemmy.ml · 1 year agomessage-square27fedilink
minus-squareDonjonMaister@programming.devlinkfedilinkarrow-up18·1 year agoStage 4.5: console.log() everything.
minus-squarezqwzzle@lemmy.calinkfedilinkEnglisharrow-up11·1 year agoAnd then the logging fixes the subtle timing issue causing the problem.
minus-squaredanc4498@lemmy.worldlinkfedilinkarrow-up6·1 year agoWe have logging software built in, but I can never remember how to turn it on, so I just console.log
minus-square0x4E4F@sh.itjust.workslinkfedilinkarrow-up4·edit-21 year 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.