How to step in (debug) Asp.Net MVC source code?

If you need to go inside ASP MVC code which can be very instructive you just need to hit 3 checkboxes inside Visual Studio and you will be ready to go.

First of all, you need to go on the Debug>Options and Settings. This will open the Options of Visual Studio. From the Debug menu, you should already be in the good menu which is Debugging.

Select the first sub-menu which is called “General” and uncheck “Enable Just my code (managed only)”. Check “Enable .Net Framework source stepping” and check “Enable source server support”. That’s it. You will be able to step into the .Net source code and also set breakpoint inside the Microsoft code.

If you like my article, think to buy my annual book, professionally edited by a proofreader. directly from me or on Amazon. I also wrote a TypeScript book called Holistic TypeScript

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.