Reputation: 737
Can anybody explain debug and release modes in the iPhone SDK? What is their importance and how are they distinguished?
Upvotes: 1
Views: 308
Reputation: 6647
A debug mode is when the compiler keeps debugging information for use with the debugger. It also doesn't optimize the code, as optimizing can make debugging tricky.
Release mode takes out the debugging symbols and turns on optimization. It's generally done when "releasing" the product, since you want it to run as fast as possible.
Upvotes: 2