Closed
Bug 1538781
Opened 2 years ago
Closed 2 years ago
Logging a variable from paused worker
Categories
(DevTools :: Debugger, defect, P2)
DevTools
Debugger
Tracking
(firefox68 fixed)
RESOLVED
FIXED
Firefox 68
| Tracking | Status | |
|---|---|---|
| firefox68 | --- | fixed |
People
(Reporter: Honza, Assigned: bhackett1024)
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.
| Reporter | ||
Comment 1•2 years ago
|
||
Online example + STR:
- Load http://janodvarko.cz/tests/bugzilla/1538781/
- Click the
Start Worker!button on the page - Create breakpoint in the original worker file (webpack/src/worker.js on line 17
- Wait till the breakpoint hits
- Open the split console and execute
result. You should see3, but there is nothing -> BUG
Honza
| Reporter | ||
Updated•2 years ago
|
Blocks: dbg-windowless
| Reporter | ||
Comment 2•2 years ago
|
||
Note that the auto-completion in the Console panel doesn't work either (might be Console bug)
Honza
| Reporter | ||
Comment 3•2 years ago
|
||
Screenshot of the Browser console with autocompletion errors.
Honza
| Reporter | ||
Updated•2 years ago
|
Summary: Logging variable from paused worker → Logging a variable from paused worker
Updated•2 years ago
|
Priority: -- → P2
| Assignee | ||
Comment 4•2 years ago
|
||
| Assignee | ||
Comment 5•2 years ago
|
||
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.
Comment 7•2 years ago
|
||
| bugherder | ||
Status: NEW → RESOLVED
Closed: 2 years ago
status-firefox68:
--- → fixed
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.
Description
•