Comments (27)
@Eilon It looks like the symbols for ASP.NET Core 2 release are loading now, thank you for getting it sorted out.
IdentityModel symbols are still missing though, I'm guessing that is another team's responsibility... Examples:
- Microsoft.IdentityModel.Protocols.OpenIdConnect.dll
- Microsoft.IdentityModel.Tokens.dll
- System.IdentityModel.Tokens.Jwt.dll
- Microsoft.IdentityModel.Logging.dll
- Microsoft.IdentityModel.Protocols.dll
from foundation.
I can confirm that IdentityModel symbols aren't available, and that's biting us hard
from foundation.
@brentschmaltz - does your team upload symbols for the IdentityModel packages?
from foundation.
from foundation.
/cc @bleroy @cmckinsey
from foundation.
Symbols for .Net Core 1.1. are available as a download from the Microsoft Download Center at this URL. This package includes both Linux and Windows symbol packages.
You can also acquire the symbols directly from the Microsoft Symbol Server is you are debugging on a .Net Core Windows application. Linux is not supported yet from the symbol server, but we may be able to enable that soon.
from foundation.
To get the Linux and Windows symbol packages for other releases, you can also find Microsoft Download Center links in the release notes in the dotnet/core repository:
- 1.0.4.md#net-core-104-symbol-packages
- 1.1.md#net-core-11-symbol-packages
- 1.1.1.md#net-core-111-symbol-packages
from foundation.
from foundation.
yes, it should work if you use an official release, such as preview1:
https://www.microsoft.com/net/core/preview#windowscmd
from foundation.
I use 1.1
Is the first source equivalent to the second one in my above screenshot?
from foundation.
yes, it is
from foundation.
So what can be the issue where symbols for Microsoft.Exnesions.*
and Microsoft.AspNetCore.*
packages are not downloaded?
from foundation.
Both of those are packages from ASP.NET core, which were not uploaded to sym server using the same process for other packaages from the framework (e.g. CoreFX). We may have some missing symbols, I'll check...
from foundation.
Yes, please. Because it is very inconvenient that I can step through sources. I got an issue with very undescriptive error and couldn't have a look deeper that's happened.
from foundation.
@Eilon : were the symbols for ASP.Net Core for 1.1. uploaded to //symweb (msdl)?
from foundation.
@lt72 - I think @vancem uploaded some ASP.NET Core 1.1 symbols somewhere, but I'm not sure. No one on my team uploaded them anywhere.
from foundation.
@Eilon. I dealt with the Native PDBs (which are only needed by profilers, not the debugger). For version 1.1 ASP.NET Dlls I only did 32 bit ones because from what I could tell version 1.1 does not support dotnet-store, and the only scenario that was generating Native code files for ASP.NET DLLs was Antares, which did it by hand (and you pointed me at them).
However I believe all of this is irrelevant for the case above, because this is for the debugger. They need the IL PDBs (in version 1.1), and I don't know who those get published for ASP.NET.
from foundation.
@Eilon will the symbols be published for ASP.NET Core 2 by the time it releases? I was unable to download them from the Microsoft symbol server or the http://srv.symbolsource.org/pdb/Public or http://srv.symbolsource.org/pdb/MyGet servers using ASP.NET Core 2 preview 2. Being able to step into the source was invaluable when implementing OpenID Connect OWIN middleware and I was hoping I could do the same with ASP.NET Core when implementing the new services/middleware pipeline.
from foundation.
@JaredShaver we're working on it today for ASP.NET Core 2, sorry for the delay!
from foundation.
@JaredShaver the symbols for ASP.NET/EF Core 2.0.0 are being processed, I'll try to update this thread when they're ready.
from foundation.
@JaredShaver - I believe the ASP.NET/EF Core 2.0.0 symbols should be up now. Please give it a try and let us know. (Please note that source links were not enabled in this build, that's something that's still in our plans for future releases.)
from foundation.
I tried with the asp.net core 2.1.0-preview1-26636, but it doesn't work, no symbols found.
from foundation.
Indeed, it appears there might be a problem with the uploaded symbols - we are investigating.
from foundation.
@Eilon we do not. Can you point us to instructions.
from foundation.
@brentschmaltz I'll send you an email with who to contact.
from foundation.
@brentschmaltz, can you confirm if the symbols for the IdentityModel packages are available now from Microsoft Symbol Server?
from foundation.
Just created a breakpoint in my .net core console application (VS2019) at:
Directory.EnumerateFiles
Hitting F11
to step into source code, debug output shows:
'dotnet.exe' (CoreCLR: DefaultDomain): Loaded 'C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.2.1\System.Private.CoreLib.dll'. Symbols loaded.
'dotnet.exe' (CoreCLR: clrhost): Loaded 'C:\Users\Admin\Documents\Visual Studio 2019\Projects\ConsoleAppTest\bin\Debug\netcoreapp2.2\ConsoleAppTest.dll'. Symbols loaded.
'dotnet.exe' (CoreCLR: clrhost): Loaded 'C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.2.1\System.Runtime.dll'. Symbols loaded.
'dotnet.exe' (CoreCLR: clrhost): Loaded 'C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.2.1\System.IO.FileSystem.dll'. Symbols loaded.
'dotnet.exe' (CoreCLR: clrhost): Loaded 'C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.2.1\System.Linq.dll'. Symbols loaded.
'dotnet.exe' (CoreCLR: clrhost): Loaded 'C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.2.1\System.Runtime.Extensions.dll'. Symbols loaded.
SRCSRV: The module 'C:\Program Files\dotnet\shared\Microsoft.NETCore.App\2.2.1\System.IO.FileSystem.dll' does not contain source server information.
First it says symbols loaded for FileSystem
and then a the end: The module FileSystem
does not contain source server information.
So how can I debug .net core code?
from foundation.
Related Issues (20)
- About still mentions CodePlex HOT 2
- Updates are not requested from local WSUS
- Links to .NET Foundation web site use HTTP instead of HTTPS
- Sourcelink location is confusing HOT 4
- Suggest: key F12 go to source code of dotnetcore rather then metadata HOT 1
- Missing logo for Steeltoe HOT 1
- Missing logo for Umbraco
- Missing logo for MVVM Light Toolkit
- No logo provided for Prism
- Clarify guidelines in regards to Options and Requirements
- Typos in CLA bot profile
- Add Akka.NET to the DNF project listing HOT 3
- Website down HOT 1
- Marten HOT 1
- Project Qualification Guidance HOT 4
- Modify CSP policy to allow embedding of youtube videos
- How can we embed images into the .NET foundation website?
- PRs to repos outside of dotnet/* pattern should not always thank for signing the CLA HOT 10
- File system watcher crash HOT 12
- not working "Linux Distribution" dropdown on http://www.microsoft.com/net/learn/get-started/linux
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from foundation.