Debugger Agent hangs indefinitely after pause-on-exception pause |
||
Issue descriptionOriginal report in issue 810385 > I put together a script triggering a freeze from the Debugger. > In this script, the debugger is paused but does not resume. > This bug is also reproducible with the devtool GUI. I investigated and can reproduce this behavior via the protocol (CDP) and devtools frontend. As the Debugger.paused event is received, any new methods sent to the backend agent are never returned a response. This includes Debugger.resume, but also can include .getScriptSource, etc. Not every exception triggers this behavior, but the provided one does. My only guess is because this click is on a link, so this could be navigation/plznavigate related? Unknown..
,
Mar 13 2018
Hi, This bug is still present in v65. Do you have an idea on how to fix it or is there a fix planned? This is a bug we encounter quite often (we develop a crawler and this bug raises often when triggering client-side javascript). Is there anything we could do to help? Regards, Mathieu
,
Sep 28
This specific issue was fixed by [1]. I am still trying to find the root of it. [1] https://chromium-review.googlesource.com/c/chromium/src/+/1208672
,
Oct 3
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/6eedda6710d1236930a4cb9be966d1247dcf99a1 commit 6eedda6710d1236930a4cb9be966d1247dcf99a1 Author: Alexey Kozyatinskiy <kozyatinskiy@chromium.org> Date: Wed Oct 03 20:35:57 2018 DevTools: skip all pauses during provisional load On browser side we suspend message dispatching during provisional load, so it is not possible to resume if pause happens. R=dgozman@chromium.org Bug: chromium:812091 Change-Id: Id9f7015febfb5ec868af2266aa8e3ca76eb7dd3d Reviewed-on: https://chromium-review.googlesource.com/c/1252802 Reviewed-by: Dmitry Gozman <dgozman@chromium.org> Commit-Queue: Aleksey Kozyatinskiy <kozyatinskiy@chromium.org> Cr-Commit-Position: refs/heads/master@{#596346} [add] https://crrev.com/6eedda6710d1236930a4cb9be966d1247dcf99a1/third_party/WebKit/LayoutTests/http/tests/devtools/sources/debugger/resources/onunload.html [add] https://crrev.com/6eedda6710d1236930a4cb9be966d1247dcf99a1/third_party/WebKit/LayoutTests/http/tests/devtools/sources/debugger/resources/page-with-unload.html [add] https://crrev.com/6eedda6710d1236930a4cb9be966d1247dcf99a1/third_party/WebKit/LayoutTests/http/tests/devtools/sources/debugger/skip-pause-during-navigation-expected.txt [add] https://crrev.com/6eedda6710d1236930a4cb9be966d1247dcf99a1/third_party/WebKit/LayoutTests/http/tests/devtools/sources/debugger/skip-pause-during-navigation.js [modify] https://crrev.com/6eedda6710d1236930a4cb9be966d1247dcf99a1/third_party/blink/renderer/core/exported/local_frame_client_impl.cc [modify] https://crrev.com/6eedda6710d1236930a4cb9be966d1247dcf99a1/third_party/blink/renderer/core/exported/web_dev_tools_agent_impl.cc [modify] https://crrev.com/6eedda6710d1236930a4cb9be966d1247dcf99a1/third_party/blink/renderer/core/exported/web_dev_tools_agent_impl.h [modify] https://crrev.com/6eedda6710d1236930a4cb9be966d1247dcf99a1/third_party/blink/renderer/core/inspector/inspector_page_agent.cc [modify] https://crrev.com/6eedda6710d1236930a4cb9be966d1247dcf99a1/third_party/blink/renderer/core/inspector/inspector_page_agent.h
,
Oct 3
|
||
►
Sign in to add a comment |
||
Comment 1 by paulir...@chromium.org
, Feb 14 2018