Heisenbug is a computer programming jargon term for a software bug that seems to disappear or alter its behavior when one attempts to study it. The term is a pun on the name of Werner Heisenberg, the physicist who first asserted the observer effect of quantum mechanics, which states that the act of observing a system inevitably alters its state.
Similar terms, such as bohrbug, mandelbug, and schrödinbug have been occasionally proposed for other kinds of unusual software bugs, sometimes in jest; however, unlike "heisenbug", they are not as widely known or used.
Examples
Heisenbugs occur b...