Answered Debug source code for mscorlib.dll 2.0.50727.4952

  • Thursday, October 14, 2010 2:54 AM
     
     

    Hi,

    I am trying to debug into mscorlib.dll but the mscorlib.pdb can't be found in http://referencesource.microsoft.com/symbols

    it is found in http://msdl.microsoft.com/download/symbols but that does not have source code info.

    Im running windows7, my mscorlib.dll is version 2.0.50727.4952 under:
    C:\Windows\assembly\GAC_32\mscorlib\2.0.0.0__b77a5c561934e089

    I downloaded all the symbols and source from: http://referencesource.microsoft.com/netframework.aspx (Dotnetfx_Win7_3.5.1) but it is not there either...

    Is it possible it is a new version and microsoft "forgot" to upload the correct pdb?

    P.S

    Just some more info, when I try to download from http://referencesource.microsoft.com/symbols it creates this directory:
    mscorlib.pdb\1A288C5B0DE64342BF9D0258A43A1B631 WITH mscorlib.pdb file in it but it is 763kb only.

    The Dotnetfx_Win7_3.5.1 source and symbols I downloaded from http://referencesource.microsoft.com/netframework.aspx has this dirs:
    \mscorlib.pdb\2F796F43324F4CC0B119C5190448F7671
    \mscorlib.pdb\62E4F7104F1F4A5E834A61BE6C0F277A1
    \mscorlib.pdb\F85F3DD0C7024D528B4C37F1ACF2123D1

    So clearly there is no match... where can I get the symbols and source for 1A288C5B0DE64342BF9D0258A43A1B631  ??

    • Edited by SeanC Thursday, October 14, 2010 3:26 PM
    •  

All Replies

  • Tuesday, October 19, 2010 5:12 AM
     
     Answered

    As far as I know, Visual Studio will automatically load symbol files for you if you enabled source server support (as well as source code stepping).
    Please try to follow up this article to configure the settings in Visual Studio:
    http://blogs.msdn.com/b/sburke/archive/2008/01/16/configuring-visual-studio-to-debug-net-framework-source-code.aspx

    One tip to keep in mind, please check your environment variables _NT_SYMBOL_Path. You'd better add the path (http://referencesource.microsoft.com/symbols) to its value.

    Best regards

  • Friday, October 22, 2010 4:55 AM
    Moderator
     
     
     

    We temporarily mark a reply, please remember to click "Mark as Answer" on the post that helps you, and to click "Unmark as Answer" if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.


    Sincerely,
    Eric
    MSDN Subscriber Support in Forum
    If you have any feedback of our support, please contact msdnmg@microsoft.com.
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.
    Welcome to the All-In-One Code Framework! If you have any feedback, please tell us.