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

Debug adapter process has terminated unexpectedly on OpenSUSE 42.2 #978

Closed
weinand opened this issue Nov 22, 2016 · 9 comments
Closed

Debug adapter process has terminated unexpectedly on OpenSUSE 42.2 #978

weinand opened this issue Nov 22, 2016 · 9 comments

Comments

@weinand
Copy link

weinand commented Nov 22, 2016

From @matteopasqualin on November 22, 2016 8:59

  • VSCode Version: Code 1.7.1 (02611b40b24c9df2726ad8b33f5ef5f67ac30b44, 2016-11-03T13:46:46.244Z)
  • OS Version: Linux x64 4.4.27-2-default
  • Extensions: C#
Extension Author Version
csharp ms-vscode 1.5.3

Hello, I'm running a simple web app with Linux distro OpenSUSE 42.2.
My project.json file:

{ "dependencies": { "Microsoft.NETCore.App": { "version": "1.1", "type": "platform" }, "Microsoft.AspNetCore.Diagnostics": "1.1.0", "Microsoft.AspNetCore.Mvc": "1.1.0", "Microsoft.AspNetCore.Razor.Tools": { "version": "1.0.0-preview2-final", "type": "build" }, "Microsoft.AspNetCore.Routing": "1.1.0", "Microsoft.AspNetCore.Server.IISIntegration": "1.1.0", "Microsoft.AspNetCore.Server.Kestrel": "1.1.0", "Microsoft.AspNetCore.StaticFiles": "1.1.0", "Microsoft.Extensions.Configuration": "1.1.0", "Microsoft.Extensions.Configuration.EnvironmentVariables": "1.1.0", "Microsoft.Extensions.Configuration.Json": "1.1.0", "Microsoft.Extensions.Configuration.CommandLine": "1.1.0", "Microsoft.Extensions.Logging": "1.1.0", "Microsoft.Extensions.Logging.Console": "1.1.0", "Microsoft.Extensions.Logging.Debug": "1.1.0", "Microsoft.Extensions.Options.ConfigurationExtensions": "1.1.0", "Microsoft.VisualStudio.Web.BrowserLink.Loader": "14.1.0", "Microsoft.EntityFrameworkCore": "1.1.0", "Microsoft.EntityFrameworkCore.Tools": "1.1.0-preview4-final", "MySql.Data.Core": "7.0.4-ir-191", "MySql.Data.EntityFrameworkCore": "7.0.6-ir31" }, "tools": { "BundlerMinifier.Core": "2.0.238", "Microsoft.AspNetCore.Razor.Tools": "1.0.0-preview2-final", "Microsoft.AspNetCore.Server.IISIntegration.Tools": "1.0.0-preview2-final", "Microsoft.EntityFrameworkCore.Tools.DotNet": "1.1.0-preview4-final" }, "frameworks": { "netcoreapp1.1": { "imports": [ "dotnet5.6", "portable-net45+win8", "dnxcore50" ] } }, "buildOptions": { "emitEntryPoint": true, "preserveCompilationContext": true, "copyToOutput": { "include": "appsettings.json" } }, "runtimeOptions": { "configProperties": { "System.GC.Server": true } }, "publishOptions": { "include": [ "wwwroot", "**/*.cshtml", "appsettings.json", "web.config" ] }, "scripts": { "precompile": [ "dotnet bundle" ], "prepublish": [ "bower install" ], "postpublish": [ "dotnet publish-iis --publish-folder %publish:OutputPath% --framework %publish:FullTargetFramework%" ] }, "tooling": { "defaultNamespace": "WebApplicationBasic" } }

Steps to Reproduce:

  1. Run debug from VS Code

Copied from original issue: microsoft/vscode#15867

@gregg-miskelly gregg-miskelly changed the title Debug adapter process has terminated unexpectedly Debug adapter process has terminated unexpectedly on OpenSUSE 42.2 Nov 22, 2016
@gregg-miskelly
Copy link
Contributor

@matteopasqualin my guess is that openSUSE 42.2 isn't going to work yet - with the bits you have, the debugger is using the openSUSE 13.2 version of .NET Core, and I am guessing it is crashing at startup. For .NET Core 1.1 there is now an openSUSE 42.1 version of .NET Core. We are in the process of moving to 1.1 and I expect our next release to add this. So if openSUSE 42.2 is binary compatible with 42.1 for the APIs that .NET Core cares about, our next release should resolve your issue.

Are you using the official 42.1 .NET Core binaries? Or did you build your own? If you are using the official ones, does everything besides debugging seem to work?

@gregg-miskelly gregg-miskelly added this to the 1.6 milestone Nov 22, 2016
@matteopasqualin
Copy link

Hello Gregg,
I'm glad you will fix it. Yes I confirm I saw somewhere in the docs refrencing to 42.1 LTS version and not 42.2, but I thought there is no big change of pacakges between the two versions.

Are you using the official 42.1 .NET Core binaries? Or did you build your own?

The official ones, I did a fresh install from the link below:
https://www.microsoft.com/net/core#linuxopensuse

I did another try before this post, this time with the "Hello World" simplest example from the above link.
I get the same result, please have a look at the screenshot.
I've just updated the Editor, my current version is: 1.7.2

screenshot_20161123_062540

I am overall sutisfied, restoring and building projects works fine, both from the shell and the Editor.
2/3 months ago, to me, was almost impossible to work with .NET Core on openSUSE.

Please, feel free to ask for further feedback or tests.
Thanks a lot and keep up with the good job.

@gregg-miskelly
Copy link
Contributor

Thanks @matteopasqualin. I will try to get a beta release out soon that you can try to confirm/deny if this is the issue.

@matteopasqualin
Copy link

Fine, all right.

@gregg-miskelly
Copy link
Contributor

@matteopasqualin I've created a v1.6-beta3 release of the C# extension that I hope addresses this. See this page for information on installing beta releases.

@matteopasqualin
Copy link

matteopasqualin commented Dec 1, 2016 via email

@gregg-miskelly
Copy link
Contributor

@matteopasqualin Thanks for verifying!

The debugger (or the build system if you get a build error) doesn't have any understanding of what port the app is going to run on when we start debugging. So there isn't much we can do about that.

@gregg-miskelly
Copy link
Contributor

@matteopasqualin not sure if you were seeing the exception from the running program, or the build error, but I decided that the exception experience was a little confusing in this case, so I did open up this bug to try and improve that: #1007.

I am closing this one since the original issue is now fixed.

@matteopasqualin
Copy link

Hello Gregg,
clear, I see. Thanks.

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

4 participants