Coder Social home page Coder Social logo

Symbols are not loaded about klondike HOT 6 OPEN

sberserker avatar sberserker commented on July 23, 2024
Symbols are not loaded

from klondike.

Comments (6)

sberserker avatar sberserker commented on July 23, 2024 3

Appears I was going to wrong server that's why url mismatch. After I updated the settings Visual Studio was able to load the symbols.

The only problem remains is visual studio crashing when trying to pull the sources to step into but at the same time resharper go to implementation works. So it might be visual studio issue since endpoint works: /api/source/Library.Test/0.3.0/Library.Test/Class1.cs

The key settings is this in csproj file. So Klondike still works with .net standard libraries.

   <PropertyGroup>
     <DebugType>full</DebugType>
     <DebugSymbols>True</DebugSymbols>
   </PropertyGroup>

from klondike.

chriseldredge avatar chriseldredge commented on July 23, 2024

I'm not sure how well Klondike handles .net packages built on ecosystems later than .net 4.5, but if you look in your Symbols directory on the filesystem, you should see the files there (e.g. Library.Test.pdb/92BD31265460470A86142B33172F2B57ffffffff/file.ptr). If you do not, Klondike's log file (~/App_Data/Logs/Klondike.log) may provide additional clues.

I haven't kept up to date with recent tooling, so it's certainly possible that the Windows Debugger Kit that Klondike uses to process symbols is not compatible with .net standard packages, assemblies and symbols.

from klondike.

sberserker avatar sberserker commented on July 23, 2024

I don't see Library.Test.pdb folder generated.
I tried also setup on the same machine where Visual Studio is. I can see only this:

image

image

What is responsible for generating pdb? Can update Nuget dll help with this?

from klondike.

chriseldredge avatar chriseldredge commented on July 23, 2024

I'm not sure, as I haven't tried much of anything in .net standard. Honestly I'm surprised Klondike works with these newer packages at all.

Klondike uses srctool, pdbstr and symstore from Debugging Tools for Windows to process symbols. The source code can be reviewed at https://github.com/themotleyfool/NuGet.Lucene/blob/master/source/NuGet.Lucene.Web/Symbols/SymbolTools.cs.

Did you take a look at Klondike.log? There isn't much in the way of diagnostic logging, but if any exceptions are being raised they would show up there.

from klondike.

sberserker avatar sberserker commented on July 23, 2024

No exceptions or something which stands out from the logs.

from klondike.

sberserker avatar sberserker commented on July 23, 2024

One step closer. Added this to .csproj file

   <PropertyGroup>
     <DebugType>full</DebugType>
     <DebugSymbols>True</DebugSymbols>
   </PropertyGroup>

Now i can see pdb info is generated after i pushed new package.

image

The only problem that Visual Studio is requesting different path

SYMSRV:  HTTPGET: /api/symbols/Library.Test.pdb/92BD31265460470A86142B33172F2B571/Library.Test.pdb
SYMSRV:  HttpQueryInfo: 80190194 - HTTP_STATUS_NOT_FOUND

SYMSRV:  HTTPGET: /api/symbols/Library.Test.pdb/92BD31265460470A86142B33172F2B571/Library.Test.pd_
SYMSRV:  HttpQueryInfo: 80190194 - HTTP_STATUS_NOT_FOUND

SYMSRV:  HTTPGET: /api/symbols/Library.Test.pdb/92BD31265460470A86142B33172F2B571/file.ptr
SYMSRV:  HttpQueryInfo: 80190194 - HTTP_STATUS_NOT_FOUND

from klondike.

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.