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

dotnet-sos for .NET 9 #4590

Open
tmds opened this issue Apr 9, 2024 · 6 comments
Open

dotnet-sos for .NET 9 #4590

tmds opened this issue Apr 9, 2024 · 6 comments
Assignees
Labels
bug Something isn't working
Milestone

Comments

@tmds
Copy link
Member

tmds commented Apr 9, 2024

We have a test for debugging .NET apps using lldb and sos.
The test has been failing for our .NET 9 builds because there is no sos version that runs on .NET 9 yet.

When will there be a version of sos that runs on .NET 9?

cc @noahfalk @omajid

@tmds tmds added the enhancement New feature or request label Apr 9, 2024
@noahfalk
Copy link
Member

noahfalk commented Apr 9, 2024

@mikem8361

@mikem8361
Copy link
Member

The current released SOS should work just fine with .NET 9. What exactly is the problem?

@tmds
Copy link
Member Author

tmds commented Apr 9, 2024

The environment only has .NET 9 available.

The first command the test runs in lldb is dso, and that prints the following error:

Error: Failed to find a supported runtime within /path/to/dotnet_root/shared/Microsoft.NETCore.App/`

@mikem8361 mikem8361 self-assigned this Apr 9, 2024
@mikem8361 mikem8361 added bug Something isn't working and removed enhancement New feature or request labels Apr 9, 2024
@mikem8361
Copy link
Member

Sorry, you are right the released SOS tooling doesn't look for .NET 9 for hosting so if that is the only installed runtime you get that error message. The main branch does look for .NET 9. We need to do a tools release to get this fix. We will try to do that soon.

You can work around this by installing .NET 8 or below or building/using "main".

@tommcdon tommcdon added this to the 9.0.0 milestone Apr 16, 2024
@tmds
Copy link
Member Author

tmds commented May 28, 2024

@mikem8361 do you have an idea when there will be a version of dotnet-sos that includes a net9.0 target on nuget.org?

@mikem8361
Copy link
Member

We are working on doing a tools release with this fix but we are having some infrastructure problems. It will be soon. Sorry for the delay.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants