3 ms·
> When debugging issues —sometimes caused by “heisenbugs” IME "Heisenbugs" are specifically bugs whose behavior changes when you attach a debugger (or other in
by SAI_Peregrinus 6y ago
> When debugging issues —sometimes caused by “heisenbugs”
IME "Heisenbugs" are specifically bugs whose behavior changes when you attach a debugger (or other instrumentation). It's a joking reference to the Heisenberg uncertainty principle of quantum mechanics. The more you try to measure one property of the system, the less you can know about some other related property. They're usually race conditions or memory corruption where the instrumentation disrupts the timing or order of operations just enough to make the bug go away.