Re: Variable evaluating improperly
Re: Variable evaluating improperly
- Subject: Re: Variable evaluating improperly
- From: koko <email@hidden>
- Date: Tue, 30 Apr 2013 12:36:59 -0600
On Apr 29, 2013, at 5:54 PM, Thomas Wetmore < email@hidden> wrote: Compilers often optimize flow of control statements in non-obvious ways (especially if the conditional _expression_ is a compile time constant as it in your case). This can lead to misleading or even impossible seeming representations in debugger windows. Insert a printf statement to see if you really get into the then clause. Of course, this might also completely change any optimization rearrangements. All very Heisenbergian.
In this case the above appears to be the case as I was running with the Release configuration. Switching to Debug config it all looks well … but here is the kicker my Release build that is being purchased exhibits this behavior … !
-koko |
_______________________________________________
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