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

vscode freezes after xunit debug session in WSL #4954

Closed
basvandriel opened this issue Dec 13, 2021 · 3 comments
Closed

vscode freezes after xunit debug session in WSL #4954

basvandriel opened this issue Dec 13, 2021 · 3 comments

Comments

@basvandriel
Copy link

Environment data

dotnet --info output:

.NET SDK (reflecting any global.json):
 Version:   6.0.100
 Commit:    9e8b04bbff

Runtime Environment:
 OS Name:     ubuntu
 OS Version:  20.04
 OS Platform: Linux
 RID:         ubuntu.20.04-x64
 Base Path:   /usr/share/dotnet/sdk/6.0.100/

Host (useful for support):
  Version: 6.0.0
  Commit:  4822e3c3aa

.NET SDKs installed:
  5.0.403 [/usr/share/dotnet/sdk]
  6.0.100 [/usr/share/dotnet/sdk]

.NET runtimes installed:
  Microsoft.AspNetCore.App 5.0.12 [/usr/share/dotnet/shared/Microsoft.AspNetCore.App]
  Microsoft.AspNetCore.App 6.0.0 [/usr/share/dotnet/shared/Microsoft.AspNetCore.App]
  Microsoft.NETCore.App 5.0.12 [/usr/share/dotnet/shared/Microsoft.NETCore.App]
  Microsoft.NETCore.App 6.0.0 [/usr/share/dotnet/shared/Microsoft.NETCore.App]

To install additional .NET runtimes or SDKs:
  https://aka.ms/dotnet-download

VS Code version: 1.63
C# Extension version: v1.7.1

OmniSharp log

[info]: OmniSharp.DotNetTest.VSTestManager
        read: {"MessageType":"TestSession.Connected","Payload":null}
[info]: OmniSharp.DotNetTest.VSTestManager
        read: {"MessageType":"ProtocolVersion","Payload":1}
[info]: OmniSharp.DotNetTest.DebugSessionManager
        Debug session started.
/home/bas/.vscode-server/extensions/ms-dotnettools.csharp-1.23.17/.omnisharp/1.37.17/run: line 28:  5647 Killed                  "${mono_cmd}" "${omnisharp_cmd}" "$@"

Steps to reproduce

When creating XUnit tests, setting breakpoints and clicking the Debug Test button above a test, it first runs the debugger. When the test is done, auto-complete stops working and I can no longer press the run or debug button above tests. Also saving files takes forever, when disabling formatting on save it saves again, but still fails on the other 2 issues.

image

Expected behavior

Working autocomplete, debugging and formatting after debugging.

@basvandriel
Copy link
Author

Restarting the omnisharp plugin doesn't work, I have to restart vscode to start working again.

@basvandriel
Copy link
Author

Related to #1794 and #4021

@basvandriel
Copy link
Author

Closing, related to #1794

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants