Closed
Bug 1192896
Opened 10 years ago
Closed 6 years ago
Worker debugger doesn't work on http://html5demos.com/worker
Categories
(DevTools :: Debugger, defect)
DevTools
Debugger
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: ehsan.akhgari, Unassigned)
References
(Blocks 2 open bugs)
Details
STR:
1. Enable worker debugging.
2. Go to http://html5demos.com/worker.
3. Open the debugger, click on the worker, and set a breakpoint in the beginning of the script.
4. Click Start Worker in the page.
The breakpoint is never hit.
Comment 1•10 years ago
|
||
Is there an easy way to run the same script outside of the worker / on the main thread? Would interested in if this is actually related to worker debugging or is just a breakpoints bug.
Blocks: dbg-breakpoint, dbg-worker
Reporter | ||
Comment 2•10 years ago
|
||
I have no idea, sorry.
Updated•9 years ago
|
Assignee: nobody → ejpbruel
Updated•9 years ago
|
Status: NEW → ASSIGNED
Comment 3•9 years ago
|
||
I'm not sure if this bug is still valid:
- setting a breakpoint on line 7 never breaks, but the worker has already started by then. This code isn't re-run, right?
- setting a breakpoint on eg line 18 inside the compute function *does* work perfectly.
Is there some other bug for debugging worker initialization?
Flags: needinfo?(ejpbruel)
Comment 4•9 years ago
|
||
(In reply to Jeff Griffiths (:canuckistani) (:⚡︎) from comment #3)
> I'm not sure if this bug is still valid:
>
> - setting a breakpoint on line 7 never breaks, but the worker has already
> started by then. This code isn't re-run, right?
>
> - setting a breakpoint on eg line 18 inside the compute function *does*
> work perfectly.
>
> Is there some other bug for debugging worker initialization?
There is no other bug for debugging worker initialization. It's something that's on my radar though, so I'll probably open a bug for it some time soon. Feel free to beat me to it if you'd like.
Flags: needinfo?(ejpbruel)
Updated•8 years ago
|
Assignee: ejpbruel → nobody
Status: ASSIGNED → NEW
Updated•7 years ago
|
Product: Firefox → DevTools
Comment 5•6 years ago
|
||
The site linked in the STR is taken over by a 3rd party, but testing on https://afshinm.github.io/50k/ works as expected with bug 1520698 landed.
Please re-open if you find other issues with worker initialization.
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•