vscode-csharp
vscode-csharp copied to clipboard
VsCode Crashes with SDL2-CS
Environment data
dotnet --info output:
.NET SDK:
Version: 7.0.114
Commit: b2a71039cd
Runtime Environment:
OS Name: ubuntu
OS Version: 22.04
OS Platform: Linux
RID: ubuntu.22.04-x64
Base Path: /usr/lib/dotnet/sdk/7.0.114/
Host:
Version: 7.0.14
Architecture: x64
Commit: 808851b07a
.NET SDKs installed:
6.0.125 [/usr/lib/dotnet/sdk]
7.0.114 [/usr/lib/dotnet/sdk]
.NET runtimes installed:
Microsoft.AspNetCore.App 6.0.25 [/usr/lib/dotnet/shared/Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 7.0.14 [/usr/lib/dotnet/shared/Microsoft.AspNetCore.App]
Microsoft.NETCore.App 6.0.25 [/usr/lib/dotnet/shared/Microsoft.NETCore.App]
Microsoft.NETCore.App 7.0.14 [/usr/lib/dotnet/shared/Microsoft.NETCore.App]
Other architectures found:
None
Environment variables:
Not set
global.json file:
Not found
Learn more:
https://aka.ms/dotnet/info
Download .NET:
https://aka.ms/dotnet/download
VS Code version: 1.84.2 C# Extension version: v2.13.10
OmniSharp log
Crashes and idk where the log is.
Steps to reproduce
- Open project here. https://github.com/Shadowblitz16/AstroWars
- Run project
- Press space
Expected behavior
VsCode Shouldn't crash
Actual behavior
VsCode crashes
Additional context
I reported this problem here too... https://github.com/microsoft/vscode/issues/200513
Hi @Shadowblitz16, can you define what you mean by "VS Code crashes"? I am not able to reproduce a problem when I try your scenario.
Hi @Shadowblitz16, can you define what you mean by "VS Code crashes"? I am not able to reproduce a problem when I try your scenario.
Hi gregg vscode seems to freeze temperately and then close if I don't sleep the thread. I think maybe sdl2-cs is running too fast for vscode to handle
A few questions:
- Do you see this same problem if you Ctrl-F5 the project?
- If that reproduces the problem, do you see the problem if you launch the project from the terminal using
dotnet run? - Does Apport show you anything?
- If not, if you start VS Code from a terminal, is anything printed about the crash?