I have some ASPX files deployed in test machine which has IIS7 and Visual Studio 2008.
Now I attached to the w3wp process with VS2008 and open one ASPX file. The ASP file has some inline code like
<% DoSomthing() %>
I move the cursor to that line and press F9, but the status bar shows "This is not a valid location for a breakpoint". I have set below in web.config file.
<compilation defaultLanguage="c#" debug="true">
So, how to set breakpoint for a deployed aspx file?