none
Obtaining debug symbol (PDB) files for .NET Framework 4.5.2 RRS feed

  • Question

  • Hello,

    It seems that Microsoft forgot to publish the debug symbol files for the .NET Framework binaries distributed with the .NET 4.5.2 update.

    For example, the following diagnostic message is printed by windbg/symchk when attempting to download the symbols for x64 clr.dll, version 4.0.30319.34209, distributed with the .NET 4.5.2 update (when the update is installed on Windows Server 2008 R2 SP1):

    SYMSRV:  http://msdl.microsoft.com/download/symbols/clr.pdb/E3E0C76A7909454FB3C56B0C2CE5FFEB2/clr.pdb not found
    DBGHELP: clr - no symbols loaded

    As a result, diagnostic tools (such as SOS.dll debugger extension, profilers, etc.) fail to work correctly.

    It is already over 50 days since the release - and these CLR builds are starting to pop up in customer installations.
    Is there any other way to obtain the PDB files?

    Thank you.

    Tuesday, June 24, 2014 2:59 PM

All replies

  • Hi IQuazee,

    I am trying to involve someone familiar with this issue to come into this thread. Thank you for your understanding.

    Regards,


    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.

    Wednesday, June 25, 2014 1:55 AM
    Moderator
  • Hi,

    According to this blog,

    All PDBs that are present in the Microsoft Symbol Server do not have any source information in them, which makes them not very useful for stepping through sources.

    Starting with .NET 4.5.1, the symbol indexing and publishing process are changed to be in sync with the build process when updates are shipped, the corresponding PDBs are also updated to the reference source site appropriately.

    So you should disable Microsoft Symbol server and change to change to use the new reference source site: http://referencesource.microsoft.com/

    Please follow the steps:
    1). Disable Microsoft Symbol Server lookup via Tools | Options | Debugging | Symbols. Ensure that the checkbox in front of Microsoft Symbol Server is unchecked.

    2). Change Symbol file location to be http://referencesource.microsoft.com/

    3). Configure .NET Reference Source for debugging: http://referencesource.microsoft.com/setup.html

    For more detailed information, please take a look at the blog I provided above: http://blogs.msdn.com/b/dotnet/archive/2014/02/24/a-new-look-for-net-reference-source.aspx

    Thanks.


    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.

    Thursday, June 26, 2014 3:38 AM
  • That doesn't work either.

    In fact, if you look at the top of the Reference Source page you'll notice that it still says "4.5.1" so probably that source wasn't updated for 4.5.2.

    Thursday, June 26, 2014 5:20 AM
    Moderator
  • Hi Mike,

    Per my understanding, starting with .NET 4.5.1 when update is shipped the corresponding PDBs are also updated on the reference resource site. 

    Is the assembly that you are trying to debug on the list of assemblies  http://referencesource.microsoft.com/indexedpdbs.txt ?

    Thanks.


    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.

    Thursday, June 26, 2014 5:36 AM
  • "Is the assembly that you are trying to debug on the list of assemblies  http://referencesource.microsoft.com/indexedpdbs.txt ?"

    Yes, mscorlib for example.

    But it's not only about .NET assemblies. As mentioned in the iquazee's post, the symbols for native .NET Framework dlls such as clr.dll are missing too. Those aren't part of the "reference source" offering and they should be available on the usual Microsoft symbol server - they are not.

    Thursday, June 26, 2014 6:05 AM
    Moderator
  • Hi Vicky,

    The question is about unmanaged debugging/profiling, such as WinDbg.

    I doubt that referencesource.microsoft.com should have the PDBs for the CLR itself (not the Base Class Library).

    Just to be sure, I checked with symchk:

    set _NT_SYMBOL_PATH=srv*C:\Symbols*http://referencesource.microsoft.com;srv*C:\Symbols*http://msdl.microsoft.com/download/symbols
    symchk -v C:\Windows\Microsoft.NET\Framework64\v4.0.30319\clr.dll

    ...
    SYMSRV:  http://referencesource.microsoft.com/clr.pdb/E3E0C76A7909454FB3C56B0C2CE5FFEB2/clr.pdb not found
    SYMSRV:  http://msdl.microsoft.com/download/symbols/clr.pdb/E3E0C76A7909454FB3C56B0C2CE5FFEB2/clr.pdb not found

    In contrast, when I attempt to download symbols for an older CLR release (4.0.30319.34014), it succeeds:
    SYMSRV:  http://referencesource.microsoft.com/clr.pdb/D2104328591A4DC48FA45F1CE1EE1F2D2/clr.pdb not found
    SYMSRV:  clr.pdb from http://msdl.microsoft.com/download/symbols: 6123008 bytes - copied
    DBGHELP: clr - public symbols
            C:\Symbols\clr.pdb\D2104328591A4DC48FA45F1CE1EE1F2D2\clr.pdb

    Thank you.


    • Edited by kroyl Thursday, June 26, 2014 6:15 AM command line typo
    Thursday, June 26, 2014 6:13 AM
  • Hi Mike, iquzee,

    Thanks you for posting this issue here.

    I already reported this issue to the appropriate team, and our senior engineers are working on it now. I will keep you informed if I get any update on this issue.

    Thanks.


    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.

    Friday, June 27, 2014 1:44 AM
  • Hi,

    I have exactly the same issue. So, I'm waiting for PDBs...

    WBR,

    ww898


    • Edited by ww898 Friday, June 27, 2014 1:29 PM
    Friday, June 27, 2014 1:29 PM
  • Arg, I had the clr symbols when operating with 4.5, but then installed 4.5.2 (to test something else). now the clr symbols for 4.5 cannot be found.

    SYMSRV:  http://msdl.microsoft.com/download/symbols/clr.pdb/E3E0C76A7909454FB3C56B0C2CE5FFEB2/clr.pdb not found
    SYMSRV:  C:\ProgramData\dbg\sym\clr.pdb\E3E0C76A7909454FB3C56B0C2CE5FFEB2\clr.pdb not found
    DBGHELP: C:\Windows\Microsoft.NET\Framework64\v4.0.30319\clr.pdb - file not found

    Wednesday, October 1, 2014 7:10 PM
  • Hi Vicky,

    what is holding up you so long to copy the pdbs of .NET 4.5.2 to the symbol server? Do not tell me that you have lost your own pdbs of this build?

    Yours,

       Alois Kraus


    • Edited by Alois Sunday, November 9, 2014 8:25 PM
    Sunday, November 9, 2014 8:25 PM
  • All the PDBs are unavailable as of today on referencesource.microsoft.com.

    This is a shame that Microsoft does not know how to copy files on a server after all these years of user complaints...


    "Nothing happens unless first a dream", Carl Sandburg

    Wednesday, June 17, 2015 9:42 AM
  • definitely a shame, still can't step into .NET code cuz pdb file not found. 
    Friday, May 20, 2016 8:55 AM