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


Please Help Members By Posting Answers For Below Questions

Why cyclomatic complexity is important?

555


How you will manage the state of ASP.NET controls?

566


Is it possible to migrate visual interdev design-time controls to asp.net?

559


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?

598


Contrast oop and soa. What are tenets of each16. How does the xmlserializer work? What acl permissions does a process using it require?

517






What is the difference between runtime version and version?

503


What are the features of asp net?

510


What is the exact purpose of http handlers?

564


What is the differences between a primary key and a unique key in sql server?

531


Give me one example of Web API Routing?

597


What is the function of the ViewState property?

632


What is data control in asp.net?

512


Can you explain one critical mapping? Performance issue which one is better? Whether connected lookup tranformation or unconnected one?

806


Define static constructor?

552


What is a form tag?

504