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?
C# and VB.net Projects With your project open, select the “Project” tab, then choose “appname Properties…“. Select “Debug” on the left pane. Check the “Enable native code debugging” box to enable it. Uncheck it to disable it.
To end a debugging session in Microsoft Visual Studio, from the Debug menu, choose Stop Debugging.
To enable or disable Just-In-Time debuggingIn the Options dialog box, select the Debugging folder. In the Debugging folder, select the Just-In-Time page. In the Enable Just-In-Time debugging of these types of code box, select or clear the relevant program types: Managed , Native , or Script .
Select Stop debugging from Debug menu to end a debugging session. You also can stop debugging from the processes window. In that window, right-click the executing process and select the Detach Process or Terminate Process command.
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With