269
Not again (media.piefed.social)
you are viewing a single comment's thread
view the rest of the comments
[-] meme_historian@lemmy.dbzer0.com 54 points 6 days ago* (last edited 6 days ago)

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 ๐Ÿ’€

[-] Matty_r@programming.dev 2 points 4 days ago

When adding a debug print statement changes the locking of a thread and the problem doesn't occur..

[-] Lojcs@piefed.social 24 points 6 days ago* (last edited 6 days ago)

Or something about packaging. Or I used a function that has a different implementation for debug mode out of its intended purpose. Or

[-] bandwidthcrisis@lemmy.world 19 points 6 days ago

AKA heisenbug.

Observing it changes the outcome.

this post was submitted on 08 Oct 2025
269 points (99.6% liked)

Programmer Humor

26865 readers
612 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 2 years ago
MODERATORS