I have .Net framework v4.0.30319 SP1Rel and visual studio 2010 v 10.0.40219.1 SP1Rel (data taken from about dialog in VS).
.Net 4.0 is available here http://referencesource.microsoft.com/netframework.aspx but not sure which specific version that is, and whether it is compatible with my setup. I did download the source a month or two back but I couldn't step into the framework source (no source available message). I read around at the time and it seemed to be due to updates for VS (and presumably the installed framework binaries) superseding the source version.
Before I try downloading again, could someone please confirm whether the source is now in line with and compatible with the latest versions. If not, is there an alternative (perhaps 3rd party) tool that allows stepping into the source?
EDIT: OK, just saw this http://social.msdn.microsoft.com/Forums/en-US/refsourceserver/thread/41388c7b-582b-4e3f-8178-3d38a3c99639 and this does indicate you cannot use the current source code?
To debug . NET and ASP.NET Core source code in Visual Studio: In Tools -> Options -> Debugging -> General, un-check Enable Just My Code. Verify Enable Source Link support is checked.
Support for . NET Framework 4 on Windows Server 2003 SP2 ended on July 14, 2015, and support on all other operating systems ended on January 12, 2016. . NET Framework 4.5: .
.NET is a free, cross-platform, open source developer platform for building many different types of applications.
Drag and drop the generated source files you want to debug into Visual Studio. Place break points in the source code in Visual Studio. Open the menu option Debug > Attach to Process Ctrl + Alt + P in Visual Studio. Select menu option Run > Resume, if you selected Debug as > Real Time Application in RSA-RTE.
To answer the second part, the professional version of .NET Reflector allows you to step into assemblies for which you do not have the source (including the .NET framework) while you debug your code. It will automatically decompile the assemblies and give you line-by-line debugging support on the decompiled code.
The latest version of Resharper may also offer a similar feature.
Of course, you won't get the nice variable names and comments that you get when using the reference source.
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