Click here to Skip to main content
11,933,180 members (63,410 online)
Rate this:
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 19: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 12-Sep-12 2:01am
Prasad_Kulkarni 12-Sep-12 2:32am
Thank you Mohamed!
harshal7689 15-Jun-13 6:02am
thank you very informative and i learn a new thing in visual studio.
Prasad_Kulkarni 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
Top Experts
Last 24hrsThis month

Advertise | Privacy | Mobile
Web01 | 2.8.151126.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