Click here to Skip to main content
15,884,628 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
What is difference between Debug and Release Mode in Visual Studio 2008 using C# ? Please, detail me from configuration point of view.
Thanks
Posted

Debug has extra checking, extra initialisaton and other features which makes locating problems easier, it is also not optimised to make debugging make more sense. Because of all of these settings though, the debug mode version runs at a fraction of the speed of the release mode.

Release mode has none of the initialisation of released mode. Where debug mode allocates memory, sets it to a value (which is never null, so it is always a good idea to initialise it yourself anyway) and then gives it to you, release mode just allocates the memory and gives it to you. Release mode also has none of the extra checking of debug mode. Finally release mode is optimised. All of these added together gives a large speed boost over debug mode.

But the only way release/debug mode could affect the include path is if a directory is given via the /I (additional include directories).

Refer: http://msdn.microsoft.com/en-us/library/wx0123s5.aspx[^]

Get more threads here[^]
 
Share this answer
 
Comments
Mohamed Mitwalli 12-Sep-12 2:01am    
5+
Prasad_Kulkarni 12-Sep-12 2:32am    
Thank you Mohamed!
harshal7689 15-Jun-13 6:02am    
thank you dude.it very informative and i learn a new thing in visual studio.
Prasad_Kulkarni 17-Jun-13 2:41am    
Glad to here :)
You're welcome!
You could have at least tried finding the answer on your own. There is lots of information to be found by Google. Here is one quite nice one:
http://stackoverflow.com/questions/4043821/performance-differences-between-debug-and-release-builds[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900