Subscribe

RSS Feed (xml)

Configuring Application Debugging

The web.config file includes a


<compilation ...> section that sets whether debug


mode is set for an ASP.NET application. A typical compilation section follows:


<compilation


defaultLanguage="vb"


debug="true"


/>


Setting debug="true" (which is case-sensitive) enables debug mode for your application.


This means the .PDB file for your assembly will be copied to the application's /bin


folder, which means detailed debug information (stack trace, line numbers, and so on)


will be provided in response to exceptions. Note that there is a significant performance


penalty to application running in debug mode. Individual pages can also be set up to run


in debug mode by setting debug="true" in the individual page directive.

No comments:

Archives

Variety in the Web World