Solved

Csharp Setting

Posted on 2014-09-15
4
87 Views
Last Modified: 2014-09-16
What's the different between Debug and Release configuration ? Should I always need to change it to Release before deploying the application to the server ?

Tks
Csharp-Setting.png
0
Comment
Question by:AXISHK
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
4 Comments
 
LVL 12

Expert Comment

by:Ramkisan Jagtap
ID: 40324706
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
0
 

Author Comment

by:AXISHK
ID: 40324714
Does it mean I need to change it to "Release" before deploying to the production server, correct ?
0
 
LVL 12

Accepted Solution

by:
Ramkisan Jagtap earned 500 total points
ID: 40324789
yes, Thats the correct way!
0
 

Author Closing Comment

by:AXISHK
ID: 40324794
Tks
0

Featured Post

Creating Instructional Tutorials  

For Any Use & On Any Platform

Contextual Guidance at the moment of need helps your employees/users adopt software o& achieve even the most complex tasks instantly. Boost knowledge retention, software adoption & employee engagement with easy solution.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Extention Methods in C# 3.0 by Ivo Stoykov C# 3.0 offers extension methods. They allow extending existing classes without changing the class's source code or relying on inheritance. These are static methods invoked as instance method. This…
In order to hide the "ugly" records selectors (triangles) in the rowheaders, here are some suggestions. Microsoft doesn't have a direct method/property to do it. You can only hide the rowheader column. First solution, the easy way The first sol…

730 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question