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 are the namespaces used in asp.net mvc? : asp.net mvc
What is the use of data set in asp.net?
Explain the components of web form in asp.net
How many web config files can be created for an application?
When using the Pager object, inorder to know which page to go, which property you have to set to grid?
What is the life cycle of web page?
Difference between DataGid and Girdview? Difference b/w .Net 2.0, 3.0 and 3.5 ? Diff b/w dispose & Finialize Methods?
What are resource file and how do we generate resource file?
how to include timer or counting time to display next page in asp.net
Is it possible to apply themes to an asp.net application? If yes, then how?
Where sessions are stored?
How we implement web farm and web garden concept in asp.net?
In which event of page cycle is the viewstate available?
How does asp.net page work?
9. Why should we hire you over the others waiting to be interviewed?