Lojcs@piefed.social to Programmer Humor@programming.devEnglish · 1 month agoNot againmedia.piefed.socialimagemessage-square14linkfedilinkarrow-up11arrow-down10
arrow-up11arrow-down1imageNot againmedia.piefed.socialLojcs@piefed.social to Programmer Humor@programming.devEnglish · 1 month agomessage-square14linkfedilink
minus-squarememe_historian@lemmy.dbzer0.comlinkfedilinkEnglisharrow-up0·edit-21 month agoIt’s a race condition that doesn’t get triggered when you run the program through a debugger or with copious amounts of debug log output 💀
minus-squarebandwidthcrisis@lemmy.worldlinkfedilinkarrow-up0·1 month agoAKA heisenbug. Observing it changes the outcome.
minus-squareLojcs@piefed.socialOPlinkfedilinkEnglisharrow-up0·edit-21 month agoOr something about packaging. Or I used a function that has a different implementation for debug mode out of its intended purpose. Or
minus-squareMatty_r@programming.devlinkfedilinkarrow-up0·1 month agoWhen adding a debug print statement changes the locking of a thread and the problem doesn’t occur…
It’s a race condition that doesn’t get triggered when you run the program through a debugger or with copious amounts of debug log output 💀
AKA heisenbug.
Observing it changes the outcome.
Or something about packaging. Or I used a function that has a different implementation for debug mode out of its intended purpose. Or
When adding a debug print statement changes the locking of a thread and the problem doesn’t occur…