I have to use IIS7 because Casini is only x86 and we work with x64 ELMAH.
Something that I have noticed since I switched is that I can no longer set breakpoints in ASP.NET MVC views. I'm not quite sure about this because of IIS7, is it? Do you happen to you?
The Visual Studio project (2008) is configured to use local IIS7. Usually I start a project by pressing F5, which actually doesn't start anything. It compiles the code and joins the corresponding IIS7 process.
Limiting breakpoints in my environment is now very tough . If I right-clicked a piece of code in the view, the "Breakpoint" submenu, as before, was using Insert Breakpoint. But when I try to insert a breakpoint, I get a blue message at the bottom of Visual Studio saying:
This is not a valid breakpoint location.
and no breakpoint is set. Setting breakpoints in compiled code, like the controller, is not a problem.
Is there any way to decide to set a breakpoint in the view?
source share