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

Posted on    October-16-2010 12:00 AM

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

Pushpendra Singh

Total Post:241

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:
<compile debug=true/>
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

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