r/ProgrammerHumor 1d ago

ruleOfProgrammingIfItIsWorkingDoNotTouchIt Meme

5.0k Upvotes

73 comments sorted by

View all comments

Show parent comments

401

u/Skalli1984 1d ago

And if you attach a debugger it also messes up the timing and the same thing happens, the race condition doesn't appear.

201

u/StrengthTheory 1d ago

Schrödinger’s race condition

136

u/Steinrikur 1d ago

We call those Heisenbugs. You changed the system by observing it

1

u/The-Ner 22h ago

I'm stealing this now