f4fb8fc1f7
We introduce V8InspectorSession::stop API to enable safe detach from the session. In particular, after calling 'stop', the session will leave any instrumentation pause it might be in and disarm all its instrumentation breakpoints. This is useful when the session disconnect request is registered on V8 interrupt (so it is unsafe to disconnect at that point), and the execution should first get to the message loop where the disconnect can be handled safely. Bug: chromium:1354043 Change-Id: I3caab12a21b123229835e8374efadc1f4c9954c2 Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/4085143 Reviewed-by: Benedikt Meurer <bmeurer@chromium.org> Reviewed-by: Kim-Anh Tran <kimanh@chromium.org> Commit-Queue: Jaroslav Sevcik <jarin@chromium.org> Cr-Commit-Position: refs/heads/main@{#84753} |
||
---|---|---|
.. | ||
benchmarks | ||
bigint | ||
cctest | ||
common | ||
debugger | ||
debugging | ||
fuzzer | ||
fuzzilli | ||
inspector | ||
intl | ||
js-perf-test | ||
memory | ||
message | ||
mjsunit | ||
mkgrokdump | ||
mozilla | ||
test262 | ||
torque | ||
unittests | ||
wasm-api-tests | ||
wasm-js | ||
wasm-spec-tests | ||
webkit | ||
BUILD.gn | ||
OWNERS |