99

What's the worst bug? Schrödinger's bug, one that only appears when the debugger is not attached, and your test instruments are disabled.

Comments
  • 11
    Ah, that's the heisenbug, whose behaviour changes when any attempt is made to observe it.
  • 1
    @alyx well it's more like, until you peek at it, the bug is simultaneously existent and non existent.
  • 1
    @alyx: isn't it the observer effect?
  • 7
    To think I left the high energy particle physics field for this...
  • 0
    In other words: race conditions.
  • 0
    @nickhh it might be and I might not. You never know what nasty things a debugger can do to a debuggee...
  • 1
    A close second is the bug which only occurs during debugging and inspection.

    (there was a setInterval bug in chrome which occurred if devtools was open)
  • 0
    @brod those are a lot more benign though. But yea some hot sections of code are a bit tricky to debug/trace
  • 1
    @benhongh "benign", "debugee", "simultaneously" - who taught you how to write? You write really nice sentences and use really appropriate words.
  • 1
  • 0
    This are there bugs that appear when the developer console is closed because the caches are enabled then.
  • 0
    @blauesocke you know that you can change the setting so that caches are enabled when the console is open, right?
Add Comment