-
Notifications
You must be signed in to change notification settings - Fork 10.4k
[NETSDKE2E][VMR][Regression][VScode][macOS and Win arm64] ASP.Net symbols are missing for IL symbols for non-x64 shared frameworks #62165
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
Comments
@marcpopMSFT I was going through this issue and it looks like it's limited to ARM64. Do we need to fix this for .NET 10 P4? |
I don't think this would be a P4 blocker. |
Probably not a blocker but I will look at this tomorrow. /cc @dotnet/product-construction |
@edvilme It's probably a VMR symbol indexing issue |
@mmitche any updates on this one? This showed up when we are looking at blocking issues for .NET 10 P5 on the validation side. |
Looking into it. |
@balachir @YingyingYuan9 I don't have an arm64 machine handy, but I tried x86 instead and got the expected behavior in Visual Studio. I'm attempting to verify that I can manually download the arm64 symbols now. |
After looking into this a bit with @hoyosjs we think we know what is going on. Looks to be an infra issue: There are N+1 copies of Microsoft.Extensions.Hosting.Abstractions.dll floating around in the product:
Because of trimming (or just separate vertical builds, the versions in the shared framework packs or layouts, which are redisted from the Microsoft.Extensions.Hosting build, do not have the same symbol key as the OOB package. This is fine though, as both sets of PDBs should get published to symbol servers. 1 should come from Microsoft.Extensions.Hosting's symbol package, and N should come from the shared framework symbol packages. However, the shared framework symbol package is missing some set of pdbs that should be in there: This could be the result of the move to the new shared framework SDK. |
@mmitche @balachir This issue not repro on Windows-arm64 now, just repro on Mac |
@wtgodbe our validation team reported above that this issue still reproduces for macOS. Do we need an additional fix here for macOS? |
Uh oh!
There was an error while loading. Please reload this page.
Build info
To Reproduce
Create a new ASP.NET Razor project by doing
mkdir razor
cd razor
dotnet new razor
Open project in VScode
Add the following lines after the “name” line of the “Configurations” object on launch.json file.
"justMyCode": false,
"symbolOptions": {
"searchMicrosoftSymbolServer": true
},
"suppressJITOptimizations": true,
Add this line of code on Program.cs file
Console.WriteLine("x " + 3);
Put breakpoint on this line
Now F11.You may see the the source code for if (!app.Environment.IsDevelopment()).
Expected Result
This tests ASP.Net symbols at this point it should show you the source code for if (!app.Environment.IsDevelopment())
Actual Result
But it displays as below ASP.Net symbols missing
Note
This issue not repro on Windows-x64
Dotnet --info
.NET SDK:
Version: 10.0.100-preview.4.25225.104
Commit: 1164eb4ffb
Workload version: 10.0.100-manifests.f1208abc
MSBuild version: 17.15.0-preview-25225-104+1164eb4ff
Runtime Environment:
OS Name: Mac OS X
OS Version: 15.4
OS Platform: Darwin
RID: osx-x64
Base Path: /usr/local/share/dotnet/sdk/10.0.100-preview.4.25225.104/
.NET workloads installed:
There are no installed workloads to display.
Configured to use workload sets when installing new manifests.
Workloads are configured to install and update using workload versions, but none were found. Run "dotnet workload restore" to install a workload version.
Host:
Version: 10.0.0-preview.4.25225.104
Architecture: x64
Commit: 1164eb4ffb
.NET SDKs installed:
10.0.100-preview.4.25225.104 [/usr/local/share/dotnet/sdk]
.NET runtimes installed:
Microsoft.AspNetCore.App 10.0.0-preview.4.25225.104 [/usr/local/share/dotnet/shared/Microsoft.AspNetCore.App]
Microsoft.NETCore.App 10.0.0-preview.4.25225.104 [/usr/local/share/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
The text was updated successfully, but these errors were encountered: