|
Heisenbug - Definition and Overview |
|
|
Heisenbug is a term used in software programming to describe a computer bug that disappears or alters its characteristics when it is researched.
A common example are bugs that occur in a release-mode compile of a program but do not occur when researched under debug-mode, or some bugs caused by a race condition. The name is a pun on the physics term "Heisenberg Uncertainty principle", which is popularly believed to refer to the way observers affect the observed in quantum mechanics.
In an interview in ACM Queue vol. 2, no. 8 - November 2004 (http://acmqueue.com/modules.php?name=Content&pa=showpage&pid=233&page=5) Bruce Lindsay tells of being at the original use for this term and that it was created because Heisenberg said "the more closely you look at one thing, the less closely can you see something else."
- See also: Bohr bug, mandelbug, schroedinbug
|
|
Example Usage of Heisenbug |
 |
schof: Working on a Heisenbug. Adding logging code moves the location of the failure... |
 |
hakmem: @longword Don't know. @mdreid came up with the term (inspired by Heisenbug I think). Let's ask him! |
 |
bdebow: it appears I have squashed our last bug for TxtBlaster (a nasty Heisenbug, even) and we look to have a shippable 1.0, pending one last beta! |
|