tags:

views:

83

answers:

3

What is the quickest way to Determine if a ASP.NET project compiled with debug symbols?

+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
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
curiousGeek is correct -- I have tested it.
Andrei Tanasescu
A: 

Are there any .pdb files next to the application's dll?

Pure.Krome
you can have pdb files even in Release mode. Not the correct way to identify if it's debug or not.
this. __curious_geek
+3  A: 
this. __curious_geek