Click here to Skip to main content
11,708,892 members (71,409 online)
Rate this: bad
Please Sign up or sign in to vote.
See more: C# Visual-Studio Debugging , +
What is difference between Debug and Release Mode in Visual Studio 2008 using C# ? Please, detail me from configuration point of view.
Posted 11-Sep-12 18:58pm
Rate this: bad
Please Sign up or sign in to vote.

Solution 1

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).


Get more threads here[^]
Mohamed Mitwalli at 12-Sep-12 2:01am
Prasad_Kulkarni at 12-Sep-12 2:32am
Thank you Mohamed!
harshal7689 at 15-Jun-13 6:02am
thank you very informative and i learn a new thing in visual studio.
Prasad_Kulkarni at 17-Jun-13 2:41am
Glad to here :)
You're welcome!
Rate this: bad
Please Sign up or sign in to vote.

Solution 2

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:[^]

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

  Print Answers RSS
0 Sergey Alexandrovich Kryukov 319
1 Maciej Los 235
2 Mika Wendelius 170
3 OriginalGriff 163
4 Peter Leow 139
0 OriginalGriff 9,253
1 Sergey Alexandrovich Kryukov 8,562
2 CPallini 5,189
3 Maciej Los 4,966
4 Mika Wendelius 3,856

Advertise | Privacy | Mobile
Web04 | 2.8.150819.1 | Last Updated 12 Sep 2012
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100