Heisenbug
Version 1.0.0 · Updated 2026-07-30
CORE DEFINITION
A bug that disappears or changes its behavior when you try to study (debug) it. This often occurs because debugging mode alters memory layout or timing.
SCAFFOLDING EFFECT
Reduce cognitive load
- Uncertainty management: There are also Heisenbugs in management—when you watch employees work, they perform perfectly; as soon as you leave, problems arise. This shows that monitoring mechanisms interfere with real performance.
Anchor fast decisions
Heisenbug: A bug that changes behavior or disappears when debugging, adding logs, or observing, often due to race conditions, uninitialized memory, timing, or optimization differences—observation itself changes the observed object, named after Heisenberg's uncertainty principle.
MINIMUM ACTION
In progress 0/4Practice this model in one real situation:
account_treeGenealogyexpand_more
menu_bookReferencesexpand_more
Source support: Explicit
- en.wikipedia.orghttps://en.wikipedia.org/wiki/Heisenbugverified
PRIVATE NOTES · Only visible to you
SAVED Q&A
ENTRY Q&A · Private saving available
Ask with a clear boundary
thinkingmodels answers from published entry context only.
Your question is sent to thinkingmodels. The answer uses public entry context only.
RELATED MODELS