Debug Vs Release build

  1. Debug mode and Release mode are different configurations for building your project.
  2. Programmers generally use the Debug mode for debugging step by step their project (by using breakpoints to be set accurately). And select the Release mode for the final build of project (.ipa).

    Is Release mode is faster than Debug mode ?

    The Release mode enables optimizations (means it makes the best use of a resource) and generates without any debug data, so it is fully optimized. Where as the Debug mode does not optimize the binary it produces.

                                  Lots of your code could be completely removed or rewritten in Release mode. The resulting executable will most likely not match up with your written code. Because of this release mode will run faster than debug mode due to the optimizations.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s