CodyIT@programming.dev to Programmer Humor@programming.devEnglish · 2 days agoThe biggest mystery known to mankindprogramming.devimagemessage-square43linkfedilinkarrow-up1729arrow-down117
arrow-up1712arrow-down1imageThe biggest mystery known to mankindprogramming.devCodyIT@programming.dev to Programmer Humor@programming.devEnglish · 2 days agomessage-square43linkfedilink
minus-squareWillem@kutsuya.devlinkfedilinkarrow-up2·1 day agoprinting to a console could enforce a flush, sync thread or other shenanigans. usually setting a breakpoint would have the same effect and gives me the suggestion of a threading issue.
minus-squareatopi@piefed.blahaj.zonelinkfedilinkEnglisharrow-up3·1 day agothe problem wasnt that the print statement fixed the bug the problem was that even if i removed the print statement and added a comment on that line, the bug would also be fixed
printing to a console could enforce a flush, sync thread or other shenanigans.
usually setting a breakpoint would have the same effect and gives me the suggestion of a threading issue.
the problem wasnt that the print statement fixed the bug
the problem was that even if i removed the print statement and added a comment on that line, the bug would also be fixed