Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deadlock opening JavaScript visual debugger #773

Open
blasss opened this issue Apr 23, 2024 · 0 comments
Open

Deadlock opening JavaScript visual debugger #773

blasss opened this issue Apr 23, 2024 · 0 comments

Comments

@blasss
Copy link

blasss commented Apr 23, 2024

Using the latest HTMLUnit version 4.0.0 opening the JavaScript visual debugger via [org.htmlunit.util.WebClientUtils.attachVisualDebugger(WebClient](https://www.htmlunit.org/apidocs/org/htmlunit/util/WebClientUtils.html#attachVisualDebugger-org.htmlunit.WebClient-) causes a deadlock.
The Swing window of the visual debugger is visible but doesn't allow user input.

As you can see from the following screenshot the EDT is waiting to get hold on the HtmlPage which is held by a thread that seems to be loading JavaScript and has hit a "breakpoint"? Unfortunately there is no way of continuing since the EDT is blocked and therefore no user input is possible:
deadlock

For the records: the HTMLUnit 4.0.0 is used in an environment with Selenium 4.19.1 and the HTMLUnit driver htmlunit3-driver-4.19.1.jar

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant