microsoft / vscode

Visual Studio Code
https://code.visualstudio.com
MIT License
162.38k stars 28.61k forks source link

MacOS CLI prof-startup results in hanging program #133041

Open rzhao271 opened 3 years ago

rzhao271 commented 3 years ago

On macOS:

  1. Run code-insiders --prof-startup <some-project-directory>
  2. After the profile is taken, a dialog should appear. One of the options is "Restart". Press that option
  3. 🐛 VS Code doesn't restart, and the user must go to the dock and force quit the application.
bpasero commented 3 years ago

Thanks for reporting, I actually found this too yesterday and also figured out it was not a regression from your changes.

peternhale commented 3 months ago

I am also seeing this issue but wanted to add that errors similar to the ones below are also seen in the terminal that appear just before one is prompted to restart.

code-insiders --prof-startup .
FAILED to start profiling for 'renderer' on port '51671'
FAILED to start profiling for 'extHost' on port '51672'