in web.config? I know I am checking it programmatically ConfigurationSection configSe...">

Can StackTrace be used if <compilation debug = "true"> in web.config?

I know I am checking it programmatically

 ConfigurationSection configSection =
      (CompilationSection) ConfigurationManager.GetSection( "system.web/compilation" );

      

I know it's still a little slower to have in production ... but if we're in some kind of beta, it still doesn't hurt ...

0


a source to share


1 answer


Yes, it is available in both Debug and Release builds, but it will contain more data (like source line numbers) if you have the PDB in debug mode.



0


a source







All Articles