-
Notifications
You must be signed in to change notification settings - Fork 677
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
Error "Process is terminating due to StackOverflowException." occurs every time when a C# program ends. #2587
Comments
@TobiichiAmane If you run the program without debugging, do you get the same problem? This sounds like an incompatibility between arch and .NET Core. |
@gregg-miskelly No. I won't get the same problem when running it directly. |
I am experiencing the same problem, also on arch. The exception happens whenever the program is terminating from debug mode, no matter whether it reaches its last statement, returns early or is stopped by clicking the stop button in debug menu. dotnet --info
VS code version - 1.21.1 C# extension version - 1.16.2 |
Seem to be a duplicate of #2439 |
I hope to put out a new beta tomorrow that has a fix for 2439. So we should hopefully know if this is indeed a duplicate or not soon... |
1.17.0-beta6 is now on the release page. Please follow these instructions to install. |
1.17.0-beta6 solved this issue. Nice work! |
@gregg-miskelly i wanted to try the new version but vscode just repeatedly wanted me to reload which is why I updated vscode. Which version do I need to correctly install the beta? |
@Aides359 My code version is 1.28.2, and OmniSharp 1.17.0-beta6 works perfectly. |
@gregg-miskelly When installing the 1.17.0-beta6 it says that the extension is not compatible with code 1.27.2 (using https://www.archlinux.org/packages/community/x86_64/code/) |
The extension currently requires 1.28 (see this line). I believe that is the version of VS Code that came out in early October on the stable channel. |
I can also confirm a fix. Thanks o/ |
Environment data
dotnet --info
output:.NET Core SDK (reflecting any global.json):
Version: 2.1.403
Commit: 04e15494b6
Runtime Environment:
OS Name: arch
OS Version:
OS Platform: Linux
RID: arch-x64
Base Path: /opt/dotnet/sdk/2.1.403/
Host (useful for support):
Version: 2.1.5
Commit: 290303f510
.NET Core SDKs installed:
2.1.403 [/opt/dotnet/sdk]
.NET Core runtimes installed:
Microsoft.NETCore.App 2.1.5 [/opt/dotnet/shared/Microsoft.NETCore.App]
To install additional .NET Core runtimes or SDKs:
https://aka.ms/dotnet-download
VS Code version: 1.27.2
C# Extension version: 1.17.0-beta5
Steps to reproduce
Create a new C# console application using
dotnet new console
;Try to debug the default HelloWorld program;
Expected behavior
Program exits with no error.
Actual behavior
Error "Process is terminating due to StackOverflowException." occurs.
The text was updated successfully, but these errors were encountered: