-
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
Attach to process fails for project.json SDK #1232
Comments
@dmccaffery can you enable logging (the quick method should work) and send us the results? |
I am having the same issue. See results from quick method logging below. There is an error that says the debug adapter process has terminated unexpectedly.
|
@crazyDiamond, is "dotnet" in the path? You can verify that by 'which dotnet' or 'dotnet --info' on your shell? |
I'm able to run the program from console using and am running into the same problem as @dmccaffery when trying to debug. @rajkumar42 which path do you think dotnet is missing from? |
@rajkumar42 |
@dmccaffery when you look at your log do you also see? --
@crazyDiamond what OS are you on? Can you send me the value for your PATH variable? What does |
@gregg-miskelly it is now working against the 1.0.1 SDK, weird, eh? |
Yup. But I will not complain :). @crazyDiamond please open a new issue if you are running into this still. |
Environment data
dotnet --info
output:.NET Command Line Tools (1.0.0-preview2-1-003182)
Product Information:
Version: 1.0.0-preview2-1-003182
Commit SHA-1 hash: 024c726cdd
Runtime Environment:
OS Name: Mac OS X
OS Version: 10.12
OS Platform: Darwin
RID: osx.10.12-x64
VS Code version:
1.9.1 f9d0c687ff2ea7aabd85fb9a43129117c0ecf519
C# Extension version:
1.7.0
Steps to reproduce
Attempt to attach to a any corerun process with a global.json set to 1.0.0-preview2-1-003182.
NOTE: I do have SxS SDKs installed:
1.0.0-preview2-1-003177
1.0.0-preview2-1-003182
1.0.0-preview3-004059
1.0.0-preview4-004233
1.0.0-rc3-004534
1.0.0-rc4-004777
LAUNCH.JSON CONFIG:
GLOBAL.JSON CONFIG:
Expected behavior
Attach should succeed.
This was working before on this exact same project just a week or two ago, so this bug was likely introduced with 1.7.0 of the C# plugin and/or in the clrdbg included with the newer plugin.
I realize that project.json will go away on March 09, but its still the currently 'supported' SDK as of today.
Actual behavior
ERROR: Undefined MI command: logout
The text was updated successfully, but these errors were encountered: