To enable .NET framework code debugging, please do the following:
Visual Studio 2019
To enable .NET framework code debugging in VS2019 please visit Debug the .net assemblies.
Visual Studio 2010
1) In Visual Studio 2010, select Debug -> Options and Settings...
The Options dialog is displayed.
2) Select Debugging in the left menu (se picture below) and check the option Enable .NET Framework source stepping.
When running your application in debug mode, Visual Studio will download the .NET source code when needed. Please be aware that the source code might use a lot of free space on your hard drive depending on how many .NET assemblies that are in use.
1) In Visual Studio 2010, select Debug -> Options and Settings...
The Options dialog is displayed.
2) Select Debugging in the left menu (se picture below) and check the option Enable .NET Framework source stepping.
When running your application in debug mode, Visual Studio will download the .NET source code when needed. Please be aware that the source code might use a lot of free space on your hard drive depending on how many .NET assemblies that are in use.