none
No Source Available

    Pertanyaan

  • I'm pulling my hair out trying to get framework source stepping working. Can someone please help?

    I have:

    - Visual Studio 2010

    - Windows 7 x64

    - disabled "Just My Code"

    - enabled ".NET Framework source stepping"

    - enabled "source server support"

    - checked "Microsoft Symbol Servers"

    - emptied my symbol cache

    - rebuilt my project (a simple console app)

     

    I get the following in the output window:

     

    'Foo.vshost.exe' (Managed (v4.0.30319)): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_32\mscorlib\v4.0_4.0.0.0__b77a5c561934e089\mscorlib.dll', Symbols loaded.

     

    I get the following in the "Symbol Load Information":

     

    C:\Windows\Microsoft.Net\assembly\GAC_32\mscorlib\v4.0_4.0.0.0__b77a5c561934e089\mscorlib.pdb: Cannot find or open the PDB file.
    C:\vs10\Common7\IDE\mscorlib.pdb: Cannot find or open the PDB file.
    C:\vs\dbg\symbols\MicrosoftPublicSymbols\mscorlib.pdb\A21F40D38EAB4B64B449E50DE8F5A3431\mscorlib.pdb: Symbols loaded.
    

     

    I downloaded the debugging tools and ran srctool.exe:

     

    >srctool.exe C:\vs\dbg\symbols\MicrosoftPublicSymbols\mscorlib.pdb\A21F40D38EAB4B64B449E50DE8F5A3431\mscorlib.pdb
    C:\vs\dbg\symbols\MicrosoftPublicSymbols\mscorlib.pdb\A21F40D38EAB4B64B449E50DE8F5A3431\mscorlib.pdb is not source indexed

     

    When I debug, I get the following in fiddler:

     

    #	Result	Protocol	Host	URL	Body	Caching	Content-Type	Process	Comments	Custom	
    1	404	HTTP	msdl.microsoft.com	/download/symbols/index2.txt	1,635		text/html	devenv:1608			
    2	404	HTTP	msdl.microsoft.com	/download/symbols/mscorlib.pdb/A21F40D38EAB4B64B449E50DE8F5A3431/mscorlib.pdb	1,635		text/html	devenv:1608			
    3	200	HTTP	msdl.microsoft.com	/download/symbols/mscorlib.pdb/A21F40D38EAB4B64B449E50DE8F5A3431/mscorlib.pd_	128,691		application/octet-stream	devenv:1608			
    4	404	HTTP	msdl.microsoft.com	/download/symbols/Microsoft.VisualStudio.HostingProcess.Utilities.pdb/08E86590262E4990B95B5826AE10AA8E1/Microsoft.VisualStudio.HostingProcess.Utilities.pdb	1,635		text/html	devenv:1608			
    5	200	HTTP	msdl.microsoft.com	/download/symbols/Microsoft.VisualStudio.HostingProcess.Utilities.pdb/08E86590262E4990B95B5826AE10AA8E1/Microsoft.VisualStudio.HostingProcess.Utilities.pd_	1,100		application/octet-stream	devenv:1608			
    6	404	HTTP	msdl.microsoft.com	/download/symbols/System.Windows.Forms.pdb/00B5DD1262574633AE5AFD45AF6A15F51/System.Windows.Forms.pdb	1,635		text/html	devenv:1608			
    7	200	HTTP	msdl.microsoft.com	/download/symbols/System.Windows.Forms.pdb/00B5DD1262574633AE5AFD45AF6A15F51/System.Windows.Forms.pd_	127,463		application/octet-stream	devenv:1608			
    8	404	HTTP	msdl.microsoft.com	/download/symbols/System.Drawing.pdb/DB478858AD4F41F0B9B231ECEC0356431/System.Drawing.pdb	1,635		text/html	devenv:1608			
    9	200	HTTP	msdl.microsoft.com	/download/symbols/System.Drawing.pdb/DB478858AD4F41F0B9B231ECEC0356431/System.Drawing.pd_	22,531		application/octet-stream	devenv:1608			
    10	404	HTTP	msdl.microsoft.com	/download/symbols/System.pdb/E4B5ADE9D40A46208A6B50E854B5E7C61/System.pdb	1,635		text/html	devenv:1608			
    11	200	HTTP	msdl.microsoft.com	/download/symbols/System.pdb/E4B5ADE9D40A46208A6B50E854B5E7C61/System.pd_	115,309		application/octet-stream	devenv:1608			
    12	404	HTTP	msdl.microsoft.com	/download/symbols/Microsoft.VisualStudio.HostingProcess.Utilities.Sync.pdb/A4A1EA3061934C65A1F620162848F5E81/Microsoft.VisualStudio.HostingProcess.Utilities.Sync.pdb	1,635		text/html	devenv:1608			
    13	200	HTTP	msdl.microsoft.com	/download/symbols/Microsoft.VisualStudio.HostingProcess.Utilities.Sync.pdb/A4A1EA3061934C65A1F620162848F5E81/Microsoft.VisualStudio.HostingProcess.Utilities.Sync.pd_	655		application/octet-stream	devenv:1608			
    14	404	HTTP	msdl.microsoft.com	/download/symbols/Microsoft.VisualStudio.Debugger.Runtime.pdb/823D8A68144049FA9977E75AD3C6C1BF1/Microsoft.VisualStudio.Debugger.Runtime.pdb	1,635		text/html	devenv:1608			
    15	200	HTTP	msdl.microsoft.com	/download/symbols/Microsoft.VisualStudio.Debugger.Runtime.pdb/823D8A68144049FA9977E75AD3C6C1BF1/Microsoft.VisualStudio.Debugger.Runtime.pd_	928		application/octet-stream	devenv:1608			
    16	404	HTTP	msdl.microsoft.com	/download/symbols/vshost32.pdb/F55DA963B1FE4CACA590F004A74549C61/vshost32.pdb	1,635		text/html	devenv:1608			
    17	200	HTTP	msdl.microsoft.com	/download/symbols/vshost32.pdb/F55DA963B1FE4CACA590F004A74549C61/vshost32.pd_	649		application/octet-stream	devenv:1608			
    18	404	HTTP	msdl.microsoft.com	/download/symbols/System.Core.pdb/0120952736EB40198F726EB55A81AB5E1/System.Core.pdb	1,635		text/html	devenv:1608			
    19	200	HTTP	msdl.microsoft.com	/download/symbols/System.Core.pdb/0120952736EB40198F726EB55A81AB5E1/System.Core.pd_	51,338		application/octet-stream	devenv:1608			
    20	404	HTTP	msdl.microsoft.com	/download/symbols/System.Xml.Linq.pdb/A39631DE4C9D484991CB7539E1E5EB621/System.Xml.Linq.pdb	1,635		text/html	devenv:1608			
    21	200	HTTP	msdl.microsoft.com	/download/symbols/System.Xml.Linq.pdb/A39631DE4C9D484991CB7539E1E5EB621/System.Xml.Linq.pd_	6,592		application/octet-stream	devenv:1608			
    22	404	HTTP	msdl.microsoft.com	/download/symbols/System.Data.DataSetExtensions.pdb/EECFCAD7AA764693B624B6221DEC11A21/System.Data.DataSetExtensions.pdb	1,635		text/html	devenv:1608			
    23	200	HTTP	msdl.microsoft.com	/download/symbols/System.Data.DataSetExtensions.pdb/EECFCAD7AA764693B624B6221DEC11A21/System.Data.DataSetExtensions.pd_	1,772		application/octet-stream	devenv:1608			
    24	404	HTTP	msdl.microsoft.com	/download/symbols/Microsoft.CSharp.pdb/AC56649A577445DCBB73B89E60664F7A1/Microsoft.CSharp.pdb	1,635		text/html	devenv:1608			
    25	200	HTTP	msdl.microsoft.com	/download/symbols/Microsoft.CSharp.pdb/AC56649A577445DCBB73B89E60664F7A1/Microsoft.CSharp.pd_	17,903		application/octet-stream	devenv:1608			
    26	404	HTTP	msdl.microsoft.com	/download/symbols/System.Data.pdb/8CAA24E603BB4B6EAA429528AE8799E81/System.Data.pdb	1,635		text/html	devenv:1608			
    27	200	HTTP	msdl.microsoft.com	/download/symbols/System.Data.pdb/8CAA24E603BB4B6EAA429528AE8799E81/System.Data.pd_	309,108		application/octet-stream	devenv:1608			
    28	404	HTTP	msdl.microsoft.com	/download/symbols/System.Xml.pdb/88E7226005434081A0B9A458294DA00F1/System.Xml.pdb	1,635		text/html	devenv:1608			
    29	200	HTTP	msdl.microsoft.com	/download/symbols/System.Xml.pdb/88E7226005434081A0B9A458294DA00F1/System.Xml.pd_	72,237		application/octet-stream	devenv:1608			
    30	404	HTTP	referencesource.microsoft.com	/symbols/index2.txt	1,245	private 	text/html	devenv:1608			
    31	200	HTTP	referencesource.microsoft.com	/symbols/System.Data.pdb/0F121E16A3744B28A9A611CEB0284EB91/System.Data.pdb	9,645,056	public 	text/html	devenv:1608			
    32	200	HTTP	referencesource.microsoft.com	/symbols/mscorlib.pdb/2DB8CAD5FB43437FA2DB9251F156BD8B1/mscorlib.pdb	10,042,880	public 	text/html	devenv:1608			
    

     

    When i double-click a framework stack frame in the callstack I get the dreaded "No Source Available" page.

     

    Please can someone tell me the magic incantation I have to perform in order to get this to work?

    30 Nopember 2010 21:08

Semua Balasan