Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

Can anyone tell me the difference between debug & release.Used in sharepoint 2010.

share|improve this question

closed as not constructive by Muhammad Raja, RJ Cuthbertson, PirateEric, John Chapman, Robert Lindgren Jun 25 '13 at 9:33

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.If this question can be reworded to fit the rules in the help center, please edit the question.

    
    
In what context? Compilation, performance, SharePoint scripts etc... If you put no effort into your questions I highly doubt you'll get any meaningful answers in return. –  Nick Larter Mar 15 '13 at 8:16
    
@NickLarter,compilation context. –  Harsh Bhavsar Mar 15 '13 at 8:56
add comment

1 Answer 1

up vote 1 down vote accepted

Debug:

For developers, easyier to debug code and attach to processes. Also with an added bonus of optimization being off so you can see the varibles values when debugging.

Release:

Its for the clients, optimization is on and hard to see values when debugging thats because there is no need for the compiler to add debugging information.

dll size matters in sharepoint where your constantly adding new dlls to the GAC, Release is smaller and faster to the counterpart debug being slower and bigger

In general, building and debugging SharePoint solutions is the same as building and debugging other types of projects in Visual Studio

http://msdn.microsoft.com/en-us/library/ee231592.aspx

c-sharp-debug-vs-release-performance

http://stackoverflow.com/questions/2446027/c-sharp-debug-vs-release-performance

http://stackoverflow.com/questions/15140439/when-to-use-release-configuration-in-visual-studio-for-sharepoint-solutions

When to use Release configuration in Visual Studio for SharePoint solutions?

share|improve this answer
add comment

Not the answer you're looking for? Browse other questions tagged or ask your own question.