Bohrbug
Updated 2026-07-30
Summary
In computer programming jargon, a heisenbug is 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 introduced the uncertainty principle, and it is a reference to the observer effect, w…
Definition
In contrast to the Heisenbug, this refers to stable, reproducible bugs. Just like Bohr's atomic model, the position is determined; whether you observe it or not, it is there. Scaffold use: Prioritize deterministic issues. When solving complex crises, first address those 'certain' and 'obvious' Bohrbugs. Don't go after the elusive Heisenbugs right away, as that will drain your energy.
Introduction
How to use
Prioritize deterministic issues. When solving complex crises, first address those 'certain' and 'obvious' Bohrbugs. Don't go after the elusive Heisenbugs right away, as that will drain your energy.
Mechanism
Bohrbugs are stable and reproducible; their trigger conditions are deterministic, and debugging is not disturbed by observation. In contrast, Heisenbugs change or disappear with debugging intervention (e.g., adding logs). Fixing deterministic bugs first yields quick returns and reduces system uncertainty.
Practice
In progress 0/4Practice this model in one real situation:
Cases
- Null pointer out-of-bounds is a typical Bohrbug, appearing with fixed input; in contrast, occasional crashes due to race conditions are more like Heisenbugs.
Common pitfalls
- Allocating effort evenly and chasing elusive intermittent bugs first; mistaking all bugs as reproducible and repeatedly adding logs, which alerts the bug.
Sources
Source support: Explicit
References currently contain only Wikipedia links; primary sources still need review.
- en.wikipedia.orghttps://en.wikipedia.org/wiki/Heisenbugverified
account_treeGenealogyexpand_more
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