Home > DeveloperSection > Interviews > How do you debug an ASP.NET Web application?

Posted on    October-16-2010 12:00 AM

 ASP.Net ASP.Net 
Ratings:
 1 Answer(s)
  1181  View(s)
Rate this:

Pushpendra Singh

Total Post:241

Points:1205
Posted on    November-01-2010 12:00 AM

Enable Debugging in Web.config
Because many parts of an ASP.NET application (such as .aspx, .asmx and .ascx pages) are dynamically compiled at run-time, you need to configure the ASP.NET run-time process to compile the application with symbolic information before the application can be debugged. To do this, set the debug attribute in the configuration section of the Web.config file that is located in the root of the application folder to true, as follows:
<configuration>
<compile debug=true/>
</configuration>
you can set the Debug attribute of the Page directive to true in your .aspx pages, as follows:
<%@ Page Debug="true" %>

Monaj Singh
Monaj Singh

Total Post:48

Points:240
Posted on    April-04-2016 7:22 AM

I want to know that how debug an ASP.NET Web application? 

Don't want to miss updates? Please click the below button!

Follow MindStick