New issue
Advanced search Search tips

Issue 891675 link

Starred by 3 users

Issue metadata

Status: Assigned
Owner:
Components:
EstimatedDays: ----
NextAction: ----
OS: Windows
Pri: 2
Type: Feature



Sign in to add a comment

[Request] Display worker name in dev tools

Reported by ashlaa...@gmail.com, Oct 3

Issue description

UserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/69.0.3497.100 Safari/537.36

Steps to reproduce the problem:
The worker 'name' attribute is now supported ( issue 721219 ). This is useful information to display in dev tools, but it's not currently shown.

Some apps spin up lots of workers, e.g. up to hardwareConcurrency to do lots of background work. Currently there is nothing to distinguish multiple workers in devtools - they all look identical. However if it displays the name then at least there is a way to label or number them so you can find which worker is logging a particular message, etc.

What is the expected behavior?
Display worker names in dev tools 'sources' tab.

What went wrong?
Worker names are not used.

Did this work before? N/A 

Chrome version: 69.0.3497.100  Channel: stable
OS Version: 10.0
Flash Version:
 
Labels: Needs-Triage-M69
Owner: dgozman@chromium.org
Status: Assigned (was: Unconfirmed)
Labels: Partner-Games-Epic
+1, would be nice for UE as well.

I'm currently working around this with new Worker("pthread-main.js#threadname"),
which is very silly, but it seems to work at least in Chrome and Firefox.
BTW, this applies to both the Sources list and the debugger's Threads list.
Components: Blink>Workers
Labels: -Type-Bug Type-Feature
Owner: einbinder@chromium.org
Joel is working on this.

Sign in to add a comment