Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IDE becomes unresponsive with the latest version of omnisharp-vscode #12

Closed
hamish-milne opened this issue Jun 13, 2019 · 3 comments

Comments

Projects
None yet
3 participants
@hamish-milne
Copy link

commented Jun 13, 2019

Repro steps:

  • Install omnisharp-vscode 1.20.0
  • Install Auto-Using 0.7.8
  • Load up a project
  • Type some things

Expected outcome:

  • Works as normal

Actual outcome:

  • Normal functionality for a few seconds before it breaks
  • Stops responding to changes
  • No autocomplete
  • Saving an unrelated file is unusually slow
  • One CPU core will spin to 100% and stay there
  • Turning on debug logging for omnisharp shows that no more requests are being sent
@natanfudge

This comment has been minimized.

Copy link
Owner

commented Jun 13, 2019

I'll look into resolving this now.
Although I intend to not keep supporting this project in the future in favor of an official solution that was already provided for the Roslyn API.
Please thumbs up this issue: OmniSharp/omnisharp-roslyn#1482 so we can get this as soon as possible in the officlal VSCode C# extension,

@garfbradaz

This comment has been minimized.

Copy link

commented Jun 13, 2019

Happening for me as well. I had to disable the extension. Here is the Developer Tool logs:

/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:3313 [Extension Host] debugger listening on port 26826
/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:3187 [ms-toolsai.vscode-ai]: Command `vscodeai.azureml.submitLastJob` appears multiple times in the `commands` section.
/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:4357 Overwriting grammar scope name to file mapping for scope source.fsharp.
Old grammar file: file:///Applications/Visual%20Studio%20Code.app/Contents/Resources/app/extensions/fsharp/syntaxes/fsharp.tmLanguage.json.
New grammar file: file:///Users/garethb/.vscode/extensions/ionide.ionide-fsharp-3.38.0/syntaxes/fsharp.json
register @ /Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:4357
/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:4357 Overwriting grammar scope name to file mapping for scope source.yaml.
Old grammar file: file:///Applications/Visual%20Studio%20Code.app/Contents/Resources/app/extensions/yaml/syntaxes/yaml.tmLanguage.json.
New grammar file: file:///Users/garethb/.vscode/extensions/ms-azure-devops.azure-pipelines-1.152.0/syntaxes/yaml.tmLanguage.json
register @ /Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:4357
/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:4357 Overwriting grammar scope name to file mapping for scope source.yaml.
Old grammar file: file:///Users/garethb/.vscode/extensions/ms-azure-devops.azure-pipelines-1.152.0/syntaxes/yaml.tmLanguage.json.
New grammar file: file:///Users/garethb/.vscode/extensions/redhat.vscode-yaml-0.4.1/syntaxes/yaml.tmLanguage.json
register @ /Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:4357
/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:238 [Extension Host] Executing activate
/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:238 [Extension Host] Extension "vscode-peacock" is now active!
/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:238 [Extension Host] (13/06/2019, 14:36:15) [ExtensionActivated] Extension has been activated!
/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:238 [Extension Host] (13/06/2019, 14:36:15) Spinning up telemetry client for id azure-pipelines, version 1.152.0
/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:238 [Extension Host] Starting server with command: /Users/garethb/.vscode/extensions/josephwoodward.vscodeilviewer-0.0.1/server/ilViewer.WebApi.dll

/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:238 [Extension Host] [Info] 
/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:238 [Extension Host] Closing server

workbench.main.js:238 [Extension Host] Event[file] 1 - /Users/garethb/code/test.ef.console2/TestContext.cs
workbench.main.js:3187 [ms-toolsai.vscode-ai]: Command `vscodeai.azureml.submitLastJob` appears multiple times in the `commands` section.
workbench.main.js:238 [Extension Host] Event[file] 1 - /Users/garethb/code/test.ef.console2/TestContext.cs
workbench.main.js:1405  WARN Aborted onWillSaveTextDocument-event after 1750ms
workbench.main.js:3311 Extension Host
workbench.main.js:1405  WARN UNRESPONSIVE extension host, 'Fudge.auto-using' took 100% of 5173.467ms, saved PROFILE here: '/var/folders/r6/32wsj3gd0q3gjsjrt0mkn24h0000gn/T/exthost-776ee6.cpuprofile' [{…}]0: {id: "Fudge.auto-using", total: 5168673, percentage: 100}length: 1__proto__: Array(0)
@natanfudge

This comment has been minimized.

Copy link
Owner

commented Jun 13, 2019

It should be fixed now with this.
You can update now.

@natanfudge natanfudge closed this Jun 14, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.