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 symbol server

    Scheduled Pinned Locked Moved Support
    progetsymbols
    8 Posts 1 Posters 21 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.
    • ? This user is from outside of this forum
      Guest
      last edited by

      Hi,

      I configured TeamCity to publish nuget packages with -Symbols option to our private ProGet server.
      Symbols server enabled for feed, on a package view page message appears "Symbols and source files are available.". Pdb and source files exists in package. VS settings adjusted to use symbol server in the same way as told in this article http://inedo.com/support/tutorials/debug-into-internal-nuget-packages-with-proget, but nothing happens when I try to step into package dll. Fiddler shows that VS is trying to download pdb for common dlls like System.Web and no records found for my private dlls.

      Did I miss something ?
      Kindly ask to advice.

      Dmytro

      Product: ProGet
      Version: 3.1.2

      1 Reply Last reply Reply Quote 0
      • ? This user is from outside of this forum
        Guest
        last edited by

        Can you look at the package store directory and verify that the symbols are included in the package file if you open it as a zip?

        Also, what URL did you add to VS for the symbols?

        1 Reply Last reply Reply Quote 0
        • ? This user is from outside of this forum
          Guest
          last edited by

          PDB file exists under lib/net45 folder in package
          TC logs says that both .symbols and regular package are pushed to ProGet server

          Nuget server: http://bkiev-payqa-app.betsson.local:4333/nuget/Betsson.Payments
          Symbols server (VS settings): http://bkiev-payqa-app.betsson.local:4333/symbols/Betsson.Payments

          1 Reply Last reply Reply Quote 0
          • ? This user is from outside of this forum
            Guest
            last edited by

            Your best bet will be to use Fiddler, or a similar tool to monitor the HTTP traffic from visual studio. This will show you exactly what requests are being made by Visual Studio.

            You can the view the symbols inside of the package from the ProGet UI, and which GUIDs it is requesting and trying to find.

            1 Reply Last reply Reply Quote 0
            • ? This user is from outside of this forum
              Guest
              last edited by

              Thanks for reply.

              I've already tried Fiddler to check traffic and it showed that VS tries to reach my symbol server only for common libraries like System.Web and there are no calls for package libraries.

              What it could mean ?

              1 Reply Last reply Reply Quote 0
              • ? This user is from outside of this forum
                Guest
                last edited by

                If VS isn't looking for the symbols, then I can't say for sure. Are you sure the configuration within VS is correct?

                1 Reply Last reply Reply Quote 0
                • ? This user is from outside of this forum
                  Guest
                  last edited by

                  Ok, I've double checked my VS configuration, and now I can step into the .pdb file but at this point VS tries to find .cs file with path of my build machine where the packages are created. If I change the path in VS then it works.

                  Is it expected behavior ?

                  1 Reply Last reply Reply Quote 0
                  • ? This user is from outside of this forum
                    Guest
                    last edited by

                    It may be as simple as your symbol package getting overwritten. There is no actual difference between a NuGet symbol package and a regular package (except for the file name and the presence of pdb files, and the file name is not submitted with the NuGet push command), so ProGet cannot distinguish between a symbol package and a "non" symbol package. Thus, if you push both, whichever one you push last will overwrite the other one.

                    Can you try changing your process to only push the symbol package and see if that fixes it?

                    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