Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


What is the difference between a Debug and Release build? Is
there a significant speed difference? Why or why not?

Answers were Sorted based on User's Feedback



What is the difference between a Debug and Release build? Is there a significant speed difference? ..

Answer / chandra sekhar dola

- The biggest difference between these is that:
In a debug build the complete symbolic debug
information is emitted to help while debugging applications
and also the code optimization is not taken into account.
While in release build the symbolic debug info is not
emitted and the code execution is optimized. Also, because
the symbol info is not emitted in a release build, the size
of the final executable is lesser than a debug executable.

- Usually they are configured to build
differently. The debug build includes building debug
symbols (the .pdb files that live next to the .dll
assemblies) and doesn't perform code optimization which
speeds up compiling a bit.

Is This Answer Correct ?    28 Yes 1 No

What is the difference between a Debug and Release build? Is there a significant speed difference? ..

Answer / 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

What is the difference between a Debug and Release build? Is there a significant speed difference? ..

Answer / ajay chimmiri

if deleting the web.config u can't debug.means ur without
web.config u don't debug the appliction.if ur build the
application web.config not necessary.

Is This Answer Correct ?    5 Yes 11 No

What is the difference between a Debug and Release build? Is there a significant speed difference? ..

Answer / kavita sharma

debug just do debugging the application
while release do debugging as well as release the application

Is This Answer Correct ?    5 Yes 51 No

Post New Answer

More ASP.NET Interview Questions

What are the asp.net server side objects?

0 Answers  


What is the difference between an htmlinputcheckbox control and an htmlinputradiobutton control?

0 Answers  


diff between Server.Transfer() and Server.Execute()

1 Answers  


What is application Object?

0 Answers   Infogain,


What is web router?

0 Answers  


What are the page level transaction and class level transaction?

1 Answers   Satyam,


How to add DateTime Control in normal DataGrid Server Control?

0 Answers  


What is boxing and unboxing ?

7 Answers   Accenture, Infosys, MedTek,


What does passport and windows authentication mean in ASP.NET?

0 Answers   Amdocs,


What are the types of caching in asp.net?

0 Answers  


How to implement role based security in asp.net mvc? : Asp.Net MVC

0 Answers  


Can we handle the error and redirect to some pages using web.config?

1 Answers   BirlaSoft,


Categories