Lojcs@piefed.social to Programmer Humor@programming.devEnglish · 8 个月前Not againmedia.piefed.socialimagemessage-square14fedilinkarrow-up1253arrow-down11
arrow-up1252arrow-down1imageNot againmedia.piefed.socialLojcs@piefed.social to Programmer Humor@programming.devEnglish · 8 个月前message-square14fedilink
minus-squarememe_historian@lemmy.dbzer0.comlinkfedilinkEnglisharrow-up54·edit-28 个月前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 💀
minus-squareMatty_r@programming.devlinkfedilinkarrow-up2·8 个月前When adding a debug print statement changes the locking of a thread and the problem doesn’t occur…
minus-squareLojcs@piefed.socialOPlinkfedilinkEnglisharrow-up23·edit-28 个月前Or something about packaging. Or I used a function that has a different implementation for debug mode out of its intended purpose. Or
minus-squarebandwidthcrisis@lemmy.worldlinkfedilinkarrow-up16·8 个月前AKA heisenbug. Observing it changes the outcome.
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 💀
When adding a debug print statement changes the locking of a thread and the problem doesn’t occur…
Or something about packaging. Or I used a function that has a different implementation for debug mode out of its intended purpose. Or
AKA heisenbug.
Observing it changes the outcome.