Heisenbug
Math & Computing
Category: Math & Computing
In short
A maddening software bug that disappears or changes when you try to investigate it.
The story
A play on the quantum-mechanical idea that observation changes the result, combining the name of the physicist Werner Heisenberg, known for the uncertainty principle, with “bug.” It was already in use by the 1980s. Running a debugging tool can shift the timing of operations slightly so the problem stops happening.
The lens
Problems that hide when you look for them exist outside software too, like a car that runs fine at the mechanic or a headache that clears up at the doctor’s. A problem you can reproduce at will is half solved.
Drop it casually
“I took my phone to the store and the glitch vanished. A heisenbug.”