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
Why do we need url encoding?
In how many ways we can retrieve table records count?
How to prevent client side validation from the ASP.NET validation controls?
Describe session handling in a webfarm?
What is the use of session in web application?
What are the different types of sessions in asp.net?
What is meant by asp.net?
What are the security types in ASP/ASP.NET? Different Authentication modes?
What is cached data phone?
How to do parallel database export in remote SQL Server in ESSL time track. It is working for local server but not working for remote SQL Server
How do you remove duplicates without using remove duplicate stage?
What is a response cookie?
Explain parts of assembly?
What are the advantages and disadvantages of session?
What is the viewstate in asp.net?