Closed Bug 1304682 Opened 8 years ago Closed 5 years ago

Worker is no longer shown in debugger

Categories

(DevTools :: Debugger, defect, P3)

52 Branch
x86_64
All
defect

Tracking

(firefox52 affected)

RESOLVED WORKSFORME
Tracking Status
firefox52 --- affected

People

(Reporter: jujjyl, Unassigned)

Details

Attachments

(4 files)

Attached file cc_crashes.zip
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).
I cannot reproduce this; cc_crashes.js is listed.
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)
Moving to the right component, and seeing if someone could manage to reproduce this.
Component: DOM: Workers → Developer Tools: Debugger
Product: Core → Firefox
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
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.
OS: Mac OS X → All
Attached image debugger_hung.jpg
The debugger console is somehow hung after step 3, attempting to type even "5 + 2" does not produce a result.
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.
Product: Firefox → DevTools

I believe this was fixed. Honza, could you verify?

Flags: needinfo?(odvarko)

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.

Attachment

General

Creator:
Created:
Updated:
Size: