Set breakpoints in your MVC views with Visual Studio 2010


Set breakpoints in your MVC views with Visual Studio, MVC

by Roberto on July 15, 2012 with 0 comment

I don’t know exactly why, but I’ve never been able to set any breakpoint directly into my MVC views while using Visual Studio 2010. Although it allows you to do so into the razor code blocks, it doesn’t seem to work well when dealing with inline razor code.

Breakpoint inside a code block

Breakpoint inside a code block

Thankfully, new Visual Studio RC 2012 allows you to set any breakpoints in your views no matter where they are placed inside the view, but if you still work with Visual Studio 2010 and you haven’t still solved this problem, this will come very handy.

continue reading ...

By continuing to use the site, you agree to the use of cookies. more information

The cookie settings on this website are set to "allow cookies" to give you the best browsing experience possible. If you continue to use this website without changing your cookie settings or you click "Accept" below then you are consenting to this.