What is the difference between a Debug and Release build? Is
there a significant speed difference? Why or why not?
Answer Posted / atreya a
Here is a good article which explains clearly the difference
between RELEASE and DEBUG Builds:
http://dotnetthoughts.wordpress.com/2007/11/29/debug-and-release-builds/
Below given is the conclusion of above link:
1.
We all know that there is no .PDB file generated in RELEASE
database.
2.
If we see the IL(Intermediate Lang) code using ILDASM then
we find that DEBUG build code has some extra variables to
store the current values of variables and some extra nop(no
operation) & GOTO statements which are helpful for the PDB
file to debug the code.
3.
Last but not the least; the RELEASE build code is not at all
OPTIMIZED in comparison to the DEBUG build code(as shown in
the link given above). Any optimization is done by JIT on
top of the IL code at the execution time.
| Is This Answer Correct ? | 13 Yes | 3 No |
Post New Answer View All Answers
What is difference between view and partial view?
What is the difference between Session and response.Redirect?
Which is better union or union all?
What is the parent class of all the web server control?
What is synchronous and Asynchronous post back ?
When you use Ajax controls in the ASP.NET application?
What is the maximum timeout we can set for Cookies?
What is asp net_sessionid?
What are standard controls?
What is the difference between CC and BCC?
What is advantage of asp.net?
Explain the procedure to handle the process request using mhpm events fired? : asp.net mvc
Whats the difference between abstract factory pattern and factory pattern?
What is the size of Get method and how much data it can store?
Explain program to call the js function when the change is being made in the dropdown list made in asp.net mvc? : asp.net mvc