Solved

Csharp Setting

Posted on 2014-09-15
4
86 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
  • 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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

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…
This article introduced a TextBox that supports transparent background.   Introduction TextBox is the most widely used control component in GUI design. Most GUI controls do not support transparent background and more or less do not have the…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

831 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