You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
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())
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.
YingyingYuan9
changed the title
[NETSDKE2E][VMR][Regression]ASP.Net symbols are missing for IL symbols on Mac and Win-arm64.
[NETSDKE2E][VMR][Regression][VScode]ASP.Net symbols are missing for IL symbols on Mac and Win-arm64.
Apr 29, 2025
YingyingYuan9
changed the title
[NETSDKE2E][VMR][Regression][VScode]ASP.Net symbols are missing for IL symbols on Mac and Win-arm64.
[NETSDKE2E][VMR][Regression][VScode]ASP.Net symbols are missing for IL symbols.
Apr 29, 2025
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: