Closed
Bug 1304682
Opened 8 years ago
Closed 5 years ago
Worker is no longer shown in debugger
Categories
(DevTools :: Debugger, defect, P3)
Tracking
(firefox52 affected)
RESOLVED
WORKSFORME
Tracking | Status | |
---|---|---|
firefox52 | --- | affected |
People
(Reporter: jujjyl, Unassigned)
Details
Attachments
(4 files)
STR: 1. Enable "Enable worker debugging (in development)" debugging checkbox. 2. Open cc_crashes.html just by dragging to browser window, i.e. via file:// 3. Open Debugger panel. Observed: In Firefox Stable 48.0, there is a Workers panel with cc_crashes.js listed in it. In Firefox Nightly 52.0a1 (2016-09-21) (64-bit), the cc_crashes.js file is not listed at all in debugger files (and so it can't be debugged).
Comment 1•8 years ago
|
||
I cannot reproduce this; cc_crashes.js is listed.
Reporter | ||
Comment 2•8 years ago
|
||
Here is how it looks for me on current Nightly 64bit on OS X. I expect that a worker with cc_crashes.js would show up in the same tree view as cc_crashes.html. I am running a fresh Firefox profile with only the "Enable worker debugging (in development)" checkbox ticked in "Toolbox Options" panel (under the gearbox icon)
Comment 3•8 years ago
|
||
Moving to the right component, and seeing if someone could manage to reproduce this.
Component: DOM: Workers → Developer Tools: Debugger
Product: Core → Firefox
Comment 4•8 years ago
|
||
Without any background knowledge on how this worker is used: could this be an issue where the worker happens to be GC'd before it shows up in the debugger? Assigning P3 to this until we can confirm it is a bug.
Priority: -- → P3
Reporter | ||
Comment 5•8 years ago
|
||
The worker is not garbage collected, it is persistent and available as globally from console via "Fetch.worker". It is created on line 6226 in cc_crashes.js. Retested this on another Windows computer in current Firefox Nightly, and the issue reproduces there as well. Attached a screenshot.
Reporter | ||
Updated•8 years ago
|
OS: Mac OS X → All
Reporter | ||
Comment 6•8 years ago
|
||
The debugger console is somehow hung after step 3, attempting to type even "5 + 2" does not produce a result.
Reporter | ||
Comment 7•8 years ago
|
||
The issue doesn't seem to be specific to showing a worker script, since the page should probably show the main script "cc_crashes.js" as well, which is loaded in the main browser thread.
Updated•6 years ago
|
Product: Firefox → DevTools
Comment 8•5 years ago
|
||
I believe this was fixed. Honza, could you verify?
Flags: needinfo?(odvarko)
Comment 9•5 years ago
|
||
I can't reproduce this, I can see cc_crashes.js file in the list.
Closing.
@Jukka: feel free to reopen if you are still able to reproduce the problem.
Honza
Status: NEW → RESOLVED
Closed: 5 years ago
Flags: needinfo?(odvarko)
Resolution: --- → WORKSFORME
You need to log in
before you can comment on or make changes to this bug.
Description
•