DescriptionPostpone interrupts while dipatching debugger events to listeners
The interrupts are already postponed in message handlers [1]. This CL aligns debug event listener (the mechanism that is actually used in Chrome DevTools) implementation with that. Handling interrupts on events like v8::AfterCompile leads to crashes like the one in the lined bug. This happens because in the interrupt handler we may change debugger state.
[1] https://codereview.chromium.org/309533009/diff/40001/src/debug.cc
BUG=chromium:520702
LOG=Y
Committed: https://crrev.com/70dc24c22ff61b4b4d5a9f43597bdbb067b35304
Cr-Commit-Position: refs/heads/master@{#30488}
Patch Set 1 #Patch Set 2 : Updated comment #Patch Set 3 : #
Messages
Total messages: 18 (7 generated)
|