Inedo Community Forums Forums
    • Recent
    • Tags
    • Popular
    • Login

    Welcome to the Inedo Forums! Check out the Forums Guide for help getting started.

    If you are experiencing any issues with the forum software, please visit the Contact Form on our website and let us know!

    Unable to debug using ProGet nuget server with symbol server enabled

    Scheduled Pinned Locked Moved Support
    12 Posts 2 Posters 29 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Y Offline
      yapeutat_1255
      last edited by

      Hi Atripp,

      I can see the symbol is indexed as what shown in "Symbols" tab of my package.

      And I follow all the visual studio configuration as what stated in the document below.
      https://docs.inedo.com/docs/proget/feeds/nuget/symbol-and-source-server

      In "Symbol Load Information" window, sometimes I see error as below
      Symbols not found on symbol server.
      or sometimes it could be
      Skipped checking location. The symbol file was not found in this location before.

      1 Reply Last reply Reply Quote 0
      • Y Offline
        yapeutat_1255
        last edited by

        Also with reference to the document:
        The hex string in the file path should also start with the GUID listed in ProGet

        For my case, the hex string in file path shown in "Symbol Load Information", always remain the same which is a2727aa9056b47349b8baab590e434d4ffffffff even though I try delete and upload the new package several times and different GUID generated each time.

        1 Reply Last reply Reply Quote 0
        • atrippA Offline
          atripp inedo-engineer
          last edited by

          NuGet/VS will aggressively cache packages, so if you're not seeing the "Symbol Load Information" it probably means you have an old, cached package or DLL. It's hard to get-around this, so it's best to really just create new package versions so the caching isn't happen

          1 Reply Last reply Reply Quote 0
          • Y Offline
            yapeutat_1255
            last edited by yapeutat_1255

            Thanks Atripp for your advice, it really helpful !

            I can debug into the source code now.

            However, there is one thing I would like to clarify.
            The symbol is loaded and so the pdb file is downloaded to cache location.
            So when I step into the code, am I actually step into the source code in the nuget package hosted in ProGet server or my private repository in gitlab?

            I noticed if I upload the legacy format (symbols.nupkg), there is source code being populated (with src folder at the root).

            1 Reply Last reply Reply Quote 0
            • atrippA Offline
              atripp inedo-engineer
              last edited by

              The legacy pdb format bundles sources in the NuGet package (in which case, it comes from ProGet), whereas pdb file uses source link.

              So it depends on the format you make the pdb. It sounds like it's the new format, however.

              1 Reply Last reply Reply Quote 0
              • Y Offline
                yapeutat_1255
                last edited by

                This post is deleted!
                1 Reply Last reply Reply Quote 0
                • Y Offline
                  yapeutat_1255
                  last edited by

                  Suddenly, can't download the symbol.

                  After I upload the nuget package to proget, I can't seem to configure the symbol server tab.
                  Got the screenshot as below
                  c1a53466-cbaf-4104-b7a4-59abab2edf66-image.png

                  1 Reply Last reply Reply Quote 0
                  • Y Offline
                    yapeutat_1255
                    last edited by

                    Dear Atripp, no symbol is loaded after I upload the package (snupkg or symbols.nupkg). Can you help to adddress this issue?

                    Thank you very much!

                    1 Reply Last reply Reply Quote 0
                    • Y Offline
                      yapeutat_1255
                      last edited by

                      It will be so great if this can work! I can even upload my company vsix. May recommend others to use too

                      1 Reply Last reply Reply Quote 0
                      • atrippA Offline
                        atripp inedo-engineer
                        last edited by

                        Unfortunately, when symbol serving doesn't work, it can be a pain to diagnose...

                        Can you "start from scratch", documenting your steps along the way, so that I can try to reproduce exactly what you're doing?

                        Start by making a very simple, hello world sort of library (maybe one class, with some basic code you can easily step/through and debug).

                        After that, then create some brand new feed (it sounds like you want two feeds? a symbols and a package feed?), then configure the new feed in Visual Studio. Then follow the other steps, like seeing if you can find the symbols in Visual Studios, etc.

                        If you can share the exact steps you did, and the package you upload, then I can reproduce the error you're seeing by following steps using the package.

                        1 Reply Last reply Reply Quote 0

                        Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                        Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                        With your input, this post could be even better 💗

                        Register Login
                        • 1 / 1
                        • First post
                          Last post
                        Inedo Website Home • Support Home • Code of Conduct • Forums Guide • Documentation