I've followed the steps outlined in http://blogs.msdn.com/sburke/archive/2008/01/16/configuring-visual-studio-to-debug-net-framework-source-code.aspx to enable source debugging of the .NET Framework, and I had it working in the past. Now that I'm using .NET 3.5 SP1, it seems to have stopped working. Beyond the steps in the blog entry I just mentioned, what special steps can I make to get source debugging working again?
-
2+1. I'm also having this problem.Vilx-– Vilx-2009-02-18 15:31:16 +00:00Commented Feb 18, 2009 at 15:31
-
I'm unable to debug Framework Source on Visual Studio SP1. It used to work on my machine. I initially had Windbg and Visual Studio caching symbols to the same directory but now I've moved the VS.NET cache to it's own directory to force it to redownload the symbols.David Silva Smith– David Silva Smith2009-12-09 00:30:44 +00:00Commented Dec 9, 2009 at 0:30
-
My output window states: Step into: Stepping over method without symbols 'System.Web.UI.WebControls.XmlDataSourceView.XmlDataSourceView' Here are some excerpts from my environment Options Debugging --> General unchecked -Enable Just My Code checked - Enable .NET Framework source stepping checked - Enable Source Server Support checked - Print source server diagnostic messages to the Output window Options Debugging --> Symbols checked - symbol file (.pdb) locations: referencesource.microsoft.com/symbols checked - search the above locations only when symbols are loaded manually.David Silva Smith– David Silva Smith2009-12-09 00:31:39 +00:00Commented Dec 9, 2009 at 0:31
-
Modules window: System.Web.dll C:\WINDOWS\assembly\GAC_32\System.Web\2.0.0.0__b03f5f7f11d50a3a\System.Web.dll Yes N/A Symbols loaded. C:\managedSymbols\MicrosoftPublicSymbols\System.Web.pdb\DBE79CC9E37744848AFF0F27BA61686C1\System.Web.pdb 10 2.0.50727.3082 (QFE.050727-3000) 11/25/2008 12:03 AM 65F20000-66A63000 [6848] System.Web.pdb size 912,384 bytes.David Silva Smith– David Silva Smith2009-12-09 00:32:10 +00:00Commented Dec 9, 2009 at 0:32
-
possible duplicate of Unable to Step in to .net framework source codeAlex Angas– Alex Angas2010-07-22 05:45:16 +00:00Commented Jul 22, 2010 at 5:45
4 Answers
This is broken in the latest GDR, Microsoft needs to fix it
5 Comments
I had the same problem when I upgraded to .NET 3.5 sp1. It seems like it's very simplified with the sp1 release. Now you only have to check the "Enable .NET framework source stepping" (which automatically unchecks "Enable just my code"). You don't have to change anything in the "Symbols" settings anymore.
Comments
You probably need to refresh your downloaded symbols. In the Symbol settings dialog you specify a cache directory where symbols are cached. Since you have upgraded your .NET framework, therefore, the symbols cached there are most probably the older ones which won't work with the newer dlls. Just clear your directory and then download symbols for .NET 3.5 SP1 again.
1 Comment
Debugging didn't work for me when I first followed those steps. I deleted symbol directory and removed all settings from Options -> Debugging -> Symbols and it worked.
- Uncheck "Enable Just My Code"
- Check "Enable .NET Framework source stepping"
- Check "Enable source server support"
- Don't add anything to Debugging -> Symbols
Works just fine on Windows 7 x64 with Visual Studio 2008 SP1.