Closed Bug 1103284 Opened 10 years ago Closed 5 years ago

Firefox UI becomes unresponsive upon hitting a breakpoint in an onchange handler

Categories

(DevTools :: Debugger, defect)

35 Branch
x86_64
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: dunpealer, Unassigned)

References

(Blocks 1 open bug)

Details

User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:33.0) Gecko/20100101 Firefox/33.0
Build ID: 20141113143407

Steps to reproduce:

1. Create a form with a text field.
2. Add an onchange event handler for that field.
3. Inside that event handler, create a breakpoint, either by placing the "debugger" directive, or by using the UI.
4. Load the page and trigger onchange event by making a change to the field and then tabbing away from it.

The bug was confirmed on Xubuntu 13.10, running the latest stable 64bit Firefox release for that dsistro: 3.1.1. I also verified it on the nightly binary release (firefox-36.0a1.en-US.linux-x86_64.tar.bz2) as well as the recently released Developer Edition (firefox-35.0a2.en-US.linux-x86_64.tar.bz2).

Finally, it was independently confirmed by the user guigs2, a top-10 contributor on the Mozilla Firefox support forum:

https://support.mozilla.org/en-US/questions/1031107


Actual results:

The debugger UI shows, but it - together with the entire rest of the Firefox UI - becomes completely unresponsive: the mouse cursor doesn't change when I hover over any widget, and clicking does nothing. There's no response to keyboard shortcuts as far as I tested them, though CTRL-r (refresh) does work sometimes.


Expected results:

The debugger UI, and the rest of the Firefox UI, should remain responsive.
jryans, can you have a look? :-)
Component: Untriaged → Developer Tools: Debugger
Flags: needinfo?(jryans)
I don't have much detailed knowledge of the debugger.  Maybe Nick would know?
Flags: needinfo?(jryans) → needinfo?(nfitzgerald)
Potentially related to the bugs I just added to "see also".

Intuition would be that this might be a problem caused by interaction with the nested event loop we spin up when paused.
Flags: needinfo?(nfitzgerald)
See Also: → 1016969, 1016561
Blocks: dbg-dom
Product: Firefox → DevTools

This has been fixed, closing.

Honza

Status: UNCONFIRMED → RESOLVED
Closed: 5 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.