views:

344

answers:

2

When I publish my ASP.NET site in RELEASE mode, and set compilation debug="false", will my ASP.NET and System.Diagnostics Tracing still work?

+1  A: 

I believe that tracing is set separately from debugging in the configuration, so yes, if properly configured.

<configuration>
 <system.web>
  <trace enabled="true" requestLimit="40" localOnly="false"/>
 </system.web>
</configuration>
tvanfosson
A: 

Beware that tracing completely breaks any msajax stuff you have going on

Andrew Bullock
True, I noticed it causes problems when enabling PageOutput. However, if I rather output to a standard trace listener all seems fine.
willem