What is the quickest way to Determine if a ASP.NET project compiled with debug symbols?
views:
83answers:
3
+2
A:
Look at the system.web/compilation node in the web.config. If it was compiled in debug mode, you'll see
<compilation debug="true">
For Web Application projects, you can also look for *.pdb files in the bin directory.
Will Green
2009-04-16 04:40:01
you can have a website compiled in Released mode ans still set the debug flag to true, Though not advisable. Assembly compilation and debug flag in web.config are not coupled with each other like this, though collectively they cause effect on application performance.
this. __curious_geek
2009-04-16 05:31:30
curiousGeek is correct -- I have tested it.
Andrei Tanasescu
2010-03-22 14:22:18
you can have pdb files even in Release mode. Not the correct way to identify if it's debug or not.
this. __curious_geek
2009-04-16 05:17:04