Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Deadlock opening JavaScript visual debugger

Aperta
#773 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
35/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
java, javascript
Ambito
devtools

Direzione di ricerca

Start by reproducing the deadlock with HtmlUnit 4.0.0 using WebClientUtils.attachVisualDebugger, as described in the issue; the report also names Selenium 4.19.1 and htmlunit3-driver-4.19.1. Inspect the screenshot and thread behavior around the EDT waiting for HtmlPage while JavaScript loading appears paused at a breakpoint. Done means the visual debugger accepts user input without deadlocking.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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

Lingua principale
JavaScript
Stelle
952
Fork
183
Merge medio
2g 1h
PR unite (30g)
1

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di HtmlUnit/htmlunit

Tutte le issue di HtmlUnit/htmlunit

Issue simili

Altre issue su JavaScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.