Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
alyx17528yAh, that's the heisenbug, whose behaviour changes when any attempt is made to observe it.
-
@alyx well it's more like, until you peek at it, the bug is simultaneously existent and non existent.
-
@nickhh it might be and I might not. You never know what nasty things a debugger can do to a debuggee...
-
brod100268yA 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) -
@brod those are a lot more benign though. But yea some hot sections of code are a bit tricky to debug/trace
-
brod100268y@benhongh "benign", "debugee", "simultaneously" - who taught you how to write? You write really nice sentences and use really appropriate words.
-
This are there bugs that appear when the developer console is closed because the caches are enabled then.
-
@blauesocke you know that you can change the setting so that caches are enabled when the console is open, right?
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.
undefined