Skip to content

code --prof-startup fails to profile renderer and exthost #251014

@MarkZuber

Description

@MarkZuber

Does this issue occur when all extensions are disabled?: Yes/No

  • VS Code Version: 1.91 -> 1.100
  • OS Version: macos / windows

Steps to Reproduce:

  1. run: 'code --prof-startup'
    FAILED to start profiling for 'renderer' on port '23680'
    FAILED to start profiling for 'extHost' on port '23681'

  2. vscode launches. there is a main.cpuprofile.txt in $HOME -> ~/prof-9Ol7MjGb.main.cpuprofile.txt

  3. dialog comes up for "create issue and restart" or "restart"

  4. click on "restart"

  5. vscode is relaunched but never comes up, requires a force quit / klil

I've tried this with :
latest insiders
--disable-extensions
macos and windows on multiple machines
v1.91 and v1.100 to test if regression

also hacked the code and rebuilt to print the err variable at failure and it only says "failed to connect":
FAILED to start profiling for 'extHost' on port '20795' -> Error: failed to connect

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions