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 cyclomatic complexity is important?
How you will manage the state of ASP.NET controls?
Is it possible to migrate visual interdev design-time controls to asp.net?
If you have an application with multiple security levels though secure login and my ASP.NET web appplication is spanned across three web-servers by using round-robbin load balancing. Explain which is the best approach to maintain login-in state for the users?
Contrast oop and soa. What are tenets of each16. How does the xmlserializer work? What acl permissions does a process using it require?
What is the difference between runtime version and version?
What are the features of asp net?
What is the exact purpose of http handlers?
What is the differences between a primary key and a unique key in sql server?
Give me one example of Web API Routing?
What is the function of the ViewState property?
What is data control in asp.net?
Can you explain one critical mapping? Performance issue which one is better? Whether connected lookup tranformation or unconnected one?
Define static constructor?
What is a form tag?