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 layouts of ASP.NET Pages?
Differentiate between a hyperlink control and a linkbutton control.
How to find last error which occurred in Asp.net ?
How to Insert/Add in ASPXgridview
What are the new navigation controls in asp.net 2.0?
How may clustered index we can create in table?
How does exception management works in ASP.NET?
how to transfer the file from client to server using asp.net
What is %20 in a url?
What are the various types of validation controls provided by asp.net?
List some of the important session state modes of asp.net.
Explain swagger components.
What is asp.net web pages?
If you are using components in your application, how can you handle exceptions raised in a component?
Can you use c# without .net?