Git Product home page Git Product logo

Comments (27)

JaredShaver avatar JaredShaver commented on August 10, 2024 4

@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.

faibistes avatar faibistes commented on August 10, 2024 2

I can confirm that IdentityModel symbols aren't available, and that's biting us hard

from foundation.

Eilon avatar Eilon commented on August 10, 2024 1

@brentschmaltz - does your team upload symbols for the IdentityModel packages?

from foundation.

gkhanna79 avatar gkhanna79 commented on August 10, 2024

CC @markwilkie @dagood

from foundation.

richlander avatar richlander commented on August 10, 2024

/cc @bleroy @cmckinsey

from foundation.

lt72 avatar lt72 commented on August 10, 2024

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.

dagood avatar dagood commented on August 10, 2024

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:

from foundation.

xperiandri avatar xperiandri commented on August 10, 2024

Must this work?
image

from foundation.

lt72 avatar lt72 commented on August 10, 2024

yes, it should work if you use an official release, such as preview1:
https://www.microsoft.com/net/core/preview#windowscmd

from foundation.

xperiandri avatar xperiandri commented on August 10, 2024

I use 1.1
Is the first source equivalent to the second one in my above screenshot?

from foundation.

lt72 avatar lt72 commented on August 10, 2024

yes, it is

from foundation.

xperiandri avatar xperiandri commented on August 10, 2024

So what can be the issue where symbols for Microsoft.Exnesions.* and Microsoft.AspNetCore.* packages are not downloaded?

from foundation.

lt72 avatar lt72 commented on August 10, 2024

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.

xperiandri avatar xperiandri commented on August 10, 2024

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.

lt72 avatar lt72 commented on August 10, 2024

@Eilon : were the symbols for ASP.Net Core for 1.1. uploaded to //symweb (msdl)?

from foundation.

Eilon avatar Eilon commented on August 10, 2024

@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.

vancem avatar vancem commented on August 10, 2024

@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.

JaredShaver avatar JaredShaver commented on August 10, 2024

@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.

Eilon avatar Eilon commented on August 10, 2024

@JaredShaver we're working on it today for ASP.NET Core 2, sorry for the delay!

from foundation.

Eilon avatar Eilon commented on August 10, 2024

@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.

Eilon avatar Eilon commented on August 10, 2024

@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.

tiandian avatar tiandian commented on August 10, 2024

I tried with the asp.net core 2.1.0-preview1-26636, but it doesn't work, no symbols found.

from foundation.

Eilon avatar Eilon commented on August 10, 2024

Indeed, it appears there might be a problem with the uploaded symbols - we are investigating.

from foundation.

brentschmaltz avatar brentschmaltz commented on August 10, 2024

@Eilon we do not. Can you point us to instructions.

from foundation.

Eilon avatar Eilon commented on August 10, 2024

@brentschmaltz I'll send you an email with who to contact.

from foundation.

sujayathavale avatar sujayathavale commented on August 10, 2024

@brentschmaltz, can you confirm if the symbols for the IdentityModel packages are available now from Microsoft Symbol Server?

from foundation.

Legends avatar Legends commented on August 10, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.