8

A rather strange question I know... I was previously using the .NET framework source stepping option (tools>options>debugging>general) within Visual Studio 2008.

Now although I have the option turned off, everytime I pause the debugger I start stepping into code I get taken into the .NET framework which takes an age to step back out of as by that point a lot of symbols have been loaded.

Has anyone else had this problem, and does anyone know how to turn it off?

2 Answers 2

8

Try selecting Enable Just My Code (Managed Only) in the same options menu (ie. Tools -> Options -> Debugging -> General).

This option gets disabled when you enable .Net Framework source stepping.

Sign up to request clarification or add additional context in comments.

2 Comments

To be a little more thorough, you could make sure that the "Enable source server support" option is cleared (same menu as above) and also clear/uncheck any of the "Symbol file locations" specified in the Debugging->Symbols menu.
I actually had all that you suggested, however clearing the symbol cache folder as well seems to have done the trick. Cheers.
2

It sounds like you are debugging the source code from .NET which downloads the appropriate PDB's and source from the web. See this URL for an example:

http://weblogs.asp.net/scottgu/archive/2007/10/03/releasing-the-source-code-for-the-net-framework-libraries.aspx

You probably just need to reverse what ScottGu did to turn it on.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.