Closed Bug 1538781 Opened 7 months ago Closed 6 months ago

Logging a variable from paused worker

Categories

(DevTools :: Debugger, defect, P2)

defect

Tracking

(firefox68 fixed)

RESOLVED FIXED
Firefox 68
Tracking Status
firefox68 --- fixed

People

(Reporter: Honza, Assigned: bhackett)

References

Details

(Whiteboard: [qa-68b-p2])

Attachments

(2 files)

The (split) Console panel doesn't show any result when logging a local variable from paused worker.

Online example + STR:

  1. Load http://janodvarko.cz/tests/bugzilla/1538781/
  2. Click the Start Worker! button on the page
  3. Create breakpoint in the original worker file (webpack/src/worker.js on line 17
  4. Wait till the breakpoint hits
  5. Open the split console and execute result. You should see 3, but there is nothing -> BUG

Honza

Note that the auto-completion in the Console panel doesn't work either (might be Console bug)

Honza

Attached image image.png

Screenshot of the Browser console with autocompletion errors.

Honza

Summary: Logging variable from paused worker → Logging a variable from paused worker
Priority: -- → P2

This patch fixes both evaluation and autocomplete.

Pushed by bhackett@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/0a223da4c1e4
Use the right thread for console evaluations when paused in a worker thread's frame, r=nchevobbe.
Status: NEW → RESOLVED
Closed: 6 months ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 68
Assignee: nobody → bhackett1024
Whiteboard: [qa-68b-p2]
You need to log in before you can comment on or make changes to this bug.