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 are the server controls in asp.net?
Differentiate between namespace and assembly.
What is the difference between “Web.config” and “Machine.Config”?
How to make sure that contents of an updatepanel update only when a partial postback takes place (and not on a full postback)?
How do I use response redirect?
What is autopostback true?
Explain about solution explorer window?
Explain the path instructions in xaml?
Give some salient points of difference between request processor and request dispatcher.
What is the life cycle of an asp.net page?
What is a uri query?
How do u optimize a query in asp.net?
Explain the difference between AutoPostBack and IspostBack in ASP.NET?
What kind of data we can store in viewstate?
Can you explain one critical mapping? Performance issue which one is better?