Debugger doesn't pause in a popup window
Categories
(DevTools :: Debugger, defect, P3)
Tracking
(Not tracked)
People
(Reporter: Honza, Unassigned)
References
(Blocks 1 open bug)
Details
STR:
- Load http://janodvarko.cz/tests/bugzilla/1757716
- Open DevTools Toolbox
- Click the
Open Window
button on the page to open a popup window (in a new tab) - Click the
Pause JS Execution
button on the new popup window - The Debugger (in the Toolbox opened in step #2) should activate
AR: The debugger is not activated
ER: The debugger should pause JS execution
Note that the popup window seems to be frozen as if it was paused in Debugger, but the Debugger panel UI doesn't indicate that.
Honza
Reporter | ||
Updated•3 years ago
|
Reporter | ||
Comment 1•3 years ago
|
||
Alex, can you reproduce this on your machine?
Comment 2•3 years ago
|
||
I don't reproduce, the debugger correctly pauses on the debugger statement of the popup document.
May be I'm having something special on my profile? Are you testing with an empty profile?
Comment 3•3 years ago
|
||
I just tested with an empty profile and this works fine.
Also tested while opening the inspector by default. (I was testing with the debugger opened by default)
Reporter | ||
Comment 4•3 years ago
|
||
I tried to retest with default profile using mach run
. It worked the first time just fine, but as soon as I restarted (using "Restart" in the File menu) I saw the same symptoms (as described above).
Not sure if it's related but I am seeing the following error in the Browser Console
TypeError: can't access property "destructor", loader is undefined 2 base-loader.js:449:21
unload resource://devtools/shared/loader/base-loader.js:449
destroy resource://devtools/shared/loader/Loader.jsm:151
didDestroy resource://devtools/server/connectors/js-window-actor/DevToolsFrameChild.jsm:725
handleEvent resource://devtools/server/connectors/js-window-actor/DevToolsFrameChild.jsm:698
switchHost resource://devtools/client/framework/toolbox-host-manager.js:278
InterpretGeneratorResume self-hosted:1475
AsyncFunctionNext self-hosted:685
Comment 5•3 years ago
|
||
I can reproduce the issue.
Clicking the Pause JS Execution
does nothing.
Also note: If i open the web toolbox in the popup window clicking the Pause JS Execution
get hit in that debugger
Updated•3 years ago
|
Description
•