letheology
May 16th, 2007, 04:50 PM
I have an ASP.NET project. I can turn on debugging informations in the aspx files with a page directive like <%@ Debug="true" %>
If there are errors in the inline code in that aspx page, then the debugging messages help me find them. But most of the code lives in a codebehind file, which is also specified in the page directive <%@ src="file.cs" %>. I want to have the same debugging information to find errors in my codebehind file. I can't put the page directive in the C# file. Turning on debugging for the entire application works, but I would like to be able to do it on a file-by-file basis.
Do you know how?
Thanks in advance.
If there are errors in the inline code in that aspx page, then the debugging messages help me find them. But most of the code lives in a codebehind file, which is also specified in the page directive <%@ src="file.cs" %>. I want to have the same debugging information to find errors in my codebehind file. I can't put the page directive in the C# file. Turning on debugging for the entire application works, but I would like to be able to do it on a file-by-file basis.
Do you know how?
Thanks in advance.