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!

    Issues with getting debug symbols

    Scheduled Pinned Locked Moved Support
    symbolsfeedsproget
    5 Posts 2 Posters 17 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.
    • N Offline
      nsitnikov_5096
      last edited by

      Trying to setup symbols to be able to debug nuget package as described here:
      http://inedo.com/support/kb/1036/using-progets-symbol-server

      Package gets built and pushed to Proget using BuildMaster. I setup VS options as described and I do see the .pdb files when I open package page in Proget and click on the View for "Symbols and source files are available", meaning they exist and are indexed. I configured the feed to not strip the symbols when downloading the package. Then I install the package via Nuget Package Manager UI or Package Manager Console with -Source option.

      When debugging through the code that uses this package VS tries to open the source file on the Buildmaster server, where it was built from, as local file (D:\Buildmaster_SVCTMP...) and sure enough the file is not on my local drive, it's on BM server.

      What am I missing?
      Thanks,
      Nik

      Product: ProGet
      Version: 4.0.9

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

        In your Visual Studio Solution's .\packages folder, do you see the .pdbs?

        If so, then those will always be used instead. You will want to "strip symbols and source" from the feed settings page.

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

          We are using dnx projects, so the packages folders are under c:\users\myuser.dnx, not under actual solutions folder. Packages folder does include the .pdb files. I checked "Strip symbols" for the feed, but it's still pulling .pdbs from the server. Only after I manually deleted pdbs in packages folder it got the source from Proget into my local temp symbols folder I setup for them, and I was able to debug.

          Does the "Strip symbols" check change take effect immediately or do I need to restart Proget service for it? Or is there something else that might be pulling these pdbs to packages folder even though the check is there?

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

            What is the package structure? Can you show the contents (file names) of the package?

            The symbols are stripped from very specific directories, so it's possible dnx packages work a little different,

            1 Reply Last reply Reply Quote 0
            • N Offline
              nsitnikov_5096
              last edited by

              Here is an example path to a .pdb file, the same folder contains .dll:

              C:\Users\nsitnikov.dnx\packages\JA.AppCentral.Logging\0.1.7-Build1\lib\dnx451\JA.AppCentral.Logging.pdb

              Package folder also contains the source in C:\Users\nsitnikov.dnx\packages\JA.AppCentral.Logging\0.1.7-Build1\src folder

              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