How do I debug an ASP.NET application that wasn't written
with Visual Studio.NET and that doesn't use code-behind?



How do I debug an ASP.NET application that wasn't written with Visual Studio.NET and that doe..

Answer / 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

More ASP.NET Interview Questions

How asynchronous call can be implemented using delegates?

0 Answers  


What is voluum?

0 Answers  


Give some salient points of difference between request processor and request dispatcher.

0 Answers   Tech Mahindra,


If I m using Session State Partioning where I have partitioned my session into 4 servers then how can I know that my session will be stored on which server?

1 Answers  


Explain server side state management system.

0 Answers  






Explain asp.net web forms.

0 Answers  


About the Usage of htmlencode and urlencode ?

2 Answers   Cognizant,


Explain the updatepanel?

0 Answers  


What are the uses of list view control in Asp.net?

0 Answers   HCL,


Describe the role of inetinfo.exe, aspnet_isapi.dll and aspnet_wp.exe in the page loading process

1 Answers   HCL, Siebel Systems, Visual Soft,


When maintaining session through sql server, what is the impact of read and write operation on session objects?

0 Answers  


Which of the following hosts Can't be used to create .net Application? a) IIS b) Internet Explorer c) ASP.Net d) Windows Shell Which one is correct?

1 Answers   CTS, TCS,


Categories