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

What are the intrinsic objects present in ASP.NET

1 Answers   IBM,


What is custom events? How to create it?

0 Answers  


what is pagination in asp.net ?

1 Answers   Netsweeper,


Name two properties common in every validation control?

1 Answers  


What is the latest version of asp.net?

0 Answers  






Difference between HTML control and Web Server Control?

4 Answers  


what is webservices. howit is use in our project .

1 Answers   Patni,


what is client back feauture ?

1 Answers  


Differentiate between structure and class.

0 Answers  


How do active server pages work?

0 Answers  


How many web.config files in each solution

10 Answers   General Mills,


What's the use of formatters in .net?

0 Answers  


Categories