1

What do I have to do in order to be able to step into ASP.NET MVC framework functions when debugging my own ASP.NET MVC application in Visual Studio 2008? I've currently installed the framework via the MSI installer.

4 Answers 4

2

You could download the source from Codeplex, and add the folder you extract it to to Visual Studio's search path. (In Tools->Options->Debugger, I think)

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

Comments

1

asp.net mvc is now released - once you install the vs2008 templates ( which is part of the install) http://www.microsoft.com/downloads/details.aspx?FamilyID=53289097-73ce-43bf-b6a6-35e00103cb4b&displaylang=en you should not have to do anything to debug. make sure that you have references to the System.web.mvc and routing dlls. also check the web config file for the debugging attribute and also check that (if running under IIS) then IIS has debugging enabled.

Comments

1

Thanks for the suggestions, but since the debugger still stepped over the MVC code for some unknown reason, I simply downloaded the MVC source, added it as a project to my solution and referenced it from there. Now I can perfectly debug the framework.

Comments

1

I followed this blog post: Using the ASP.NET MVC source code to debug your app , by Steve Sanders.

It works as expected/wanted.

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.