Process explorer: update name for service worker process
See original GitHub issueSteps to Reproduce:
- Open any webview, ex: open an extension page
- Open process explorer
- There will now be a
window
process with no associated title, it can be mistaken for workbench
Inspecting the window via remote debugging, the following are the location information
"vscode-webview://extensioneditor/service-worker.js?id=bd03d4e0-fea8-4a03-8b…de-resource.vscode-webview.net&parentOrigin=vscode-file%3A%2F%2Fvscode-app"
Service workers are also spawned as renderer processes so it would be good to differentiate them in the explorer.
Issue Analytics
- State:
- Created 2 years ago
- Reactions:2
- Comments:9 (9 by maintainers)
Top Results From Across the Web
[improvement] Add service names into process filtering in ...
Latest ProcessExplorer can filter out processes by name (menu Find/Filter Processes). That's nice, but sometimes I want to find which ...
Read more >Understanding Process Explorer - How-To Geek
This lesson in our Geek School series covers Process Explorer, perhaps the most used and useful application in the SysInternals toolkit.
Read more >How to Use Process Monitor and Process Explorer
Do you often use Task Manager on your Windows 10 PC to keep track of ... the processes and choose Edit Filter to...
Read more >Process Explorer - Oracle Help Center
Applications Upgrade Guide for Microsoft Windows with SQL Server.
Read more >Troubleshooting with Process Explorer - YouTube
https://www.youtube.com/playlist?list... Update - Thank you to Mark Russinovich and David Solomon for giving me permission … Show more.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
This requires some plumbing work in the runtime, currently chromium doesn’t differentiate the shared worker or service worker which are launched similar to other renderer process via command line arguments, there is lot of internal tracking involved which is what the
Task Manager
in chrome relies to identify and map these process PID to the correct type.I will try to add a simple command line arguments to these worker renderers that would let us differentiate them in our process explorer,
--renderer-type=service-worker
,--renderer-type=shared-worker
.If there’s a way to map the PID to a friendly title on another proc that would work as well, that’s how the window names come into the proc explorer:
https://github.com/microsoft/vscode/blob/145e3802769319046f6fb35db76c5ca85b8ae1a1/src/vs/code/electron-sandbox/processExplorer/processExplorerMain.ts#L243-L247
Alternatively, I could just show any window without a title returned above as “service-worker”, but that feels like it will probably fall apart in the future.