Skip to content

[NETSDKE2E][VMR][Regression][VScode][macOS and Win arm64] ASP.Net symbols are missing for IL symbols for non-x64 shared frameworks #62165

Open
@YingyingYuan9

Description

@YingyingYuan9

Build info

  1. On Mac and win-arm64
  2. Install VScode version 1.99.3
  3. Install C# extension v2.74.24 (latest pre-release from the marketplace)
  4. NET 10 VMR SDK: 10.0.100-preview.4.25225.104(runtime-10.0.100-preview.4.25225.104)

To Reproduce

  1. Create a new ASP.NET Razor project by doing
    mkdir razor
    cd razor
    dotnet new razor

  2. 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);

  3. Put breakpoint on this line

Image

  1. F5 to continue debugging. The breakpoint you added above will get hit.
    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())

Image

Actual Result

But it displays as below ASP.Net symbols missing

Image

Note

This issue not repro on Windows-x64

Image

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

Metadata

Metadata

Assignees

Labels

area-infrastructureIncludes: MSBuild projects/targets, build scripts, CI, Installers and shared framework

Type

No type

Projects

Status

Ready

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions