I have an ASP.NET (2.0) site. I am on my dev box using V Studio 2008 and IIS. I have a separate User Control project that gets called from a javascript function in the default.aspx page. The User Control project is in another solution.
The application is running as expected. The user control is being called and all is well. Well not quite.
I am unable to step into the User Control project, i.e debug it. I can set breakpoints but they never get trapped. I can debug all other areas of the site both in script and code behind without any problems. The User control gets built in DEBUG to the same location as the default.aspx page.
Things i have already tried: Enabled script debugging in IE. Added the User Control project to the same web site solution Attached debugger to running instance of IE from Visual Studio Enabled debugging on the site. Built the user control in debug mode and ensured the pdb is in the same directory
Below is some sample code which should help:
default.aspx: (Cut down for brevity)
function LoadMethod() { try { LoadControl.Ping();
}
catch (e) //if the DLL didn't run assume there is a trust problem.
{
}
}
When i go to step into the call to LoadControl.Ping, the debugger just steps over this line of code.
Please only give feedback if you have actually done this in practice.