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
Describe briefly what is the role of IIS on an ASP.NET application? What does it for the same application?
Which is faster viewbag or viewdata?
How would you get asp.net running in apache web servers? Explain it's limitations.
Explain global assembly cache.
What r the asp.net list controls and diff. Between them?
Differentiate between early binding and late binding.
What is a postback url?
What is the difference between page directive include and action tag include?
What is difference between web config and global asax?
How can we identify that the Page is Post Back?
By default, Web API sends HTTP response with which of the following status code for all uncaught exception?
Is asp.net and .net are same or different?
What is the behavior of a Web browser when it receives an invalid element?
Which authentication uses a combination of windows and iis authentication?
Differentiate strong typing and weak typing