Re: Optimization level
Re: Optimization level
- Subject: Re: Optimization level
- From: Scott Tooker <email@hidden>
- Date: Thu, 5 Jan 2006 10:33:28 -0800
On Jan 5, 2006, at 10:03 AM, Kevin Meaney wrote:
G'day again all,
The default optimization level for the debug build configuration is:
Fastest, Smallest [-Os]
Hmm, the "Optimization Level" build setting should default to -Os
(regardless of build configuration), but in all our templates we set
it to -O0 (None) for the Debug build configuration. In the future it
would be nice to have the build setting default be a bit smarter
based on the build configuration they are part of.
What are the implications of this for debugging. Is it possible
that one
of the xcode developers realized that using this optimization does not
interfere with debugging (Breakpoints, getting expected values for
variables at breakpoints, changing the value of a variable while
debugging)? or is this unintended and should be set to none for
debug builds.
-Os is definitely going to optimize your code and debugging optimized
code is no fun :( You want -O0.
Scott
Kevin
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden