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
Define page output caching?
Explain Life cycle of ASP.NET page when a request is made.
Which method is used to force all the validation controls to run?
List of words of preprocessor in .net?
What is the best Macanism to clear the Cache in asp.net
What does postback mean?
What is the difference between client-side and server-side validations in webpages?
Hi All, Im an MCA holder with 3+ years of experience in asp.net. Now i want to move to some good government job. I have no idea about different categories of exams held & which one can be applicable for my education background. I have done B.A with MCA. Please help me out with your valuable suggestions. I would be very grateful. Thanks Anuj
What is difference between viewstate and session in asp net?
How many types of Cookies are available in ASP.NET?
Explain cookies with example.
can we remote debug applications with the remote debugger installed with vs.net 2002, with vs.net 2003?
What is use of <% %> in asp.net?
Where session variables are stored?
What is postback request?