How do I debug an ASP.NET application that wasn't written
with Visual Studio.NET and that doesn't use code-behind?
Answer Posted / asra
Start the DbgClr debugger that comes with the .NET
Framework SDK, open the file containing the code you want
to debug, and set your breakpoints. Start the ASP.NET
application. Go back to DbgClr, choose Debug Processes from
the Tools menu, and select aspnet_wp.exe from the list of
processes. (If aspnet_wp.exe doesn't appear in the
list,check the "Show system processes" box.) Click the
Attach button to attach to aspnet_wp.exe and begin
debugging.
Be sure to enable debugging in the ASPX file before
debugging it with DbgClr. You can enable tell ASP.NET to
build debug executables by placing a
<%@ Page Debug="true" %> statement at the top of an ASPX
file or a <COMPILATION debug="true" />statement in a
Web.config file.
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
what cut off mark for po's,what questions they asked for interview?
a)COM Callable Wrapper b)Runtime Callable Which one of the above is Win32 API in .Net?
What is windows active directory authentication?
Can you explain composite pattern?
What’s the catch?
What is the difference between union and join?
Can you explain the basic use of dataview?
What ports must be open for DCOM over a firewall? What is the purpose of Port 135?
Explain security types in asp.net?
What should you do is you want to remove an existing component but would like to make some funtionalities?
In how many ways we can retrieve table records count?
Explain the asp.net mvc request life cycle? : asp.net mvc
How asynchronous call can be implemented using delegates?
What is http response header?
What does ascx stand for?