Re: Stepping through out of order?
Re: Stepping through out of order?
- Subject: Re: Stepping through out of order?
- From: Han Ming Ong <email@hidden>
- Date: Mon, 29 Oct 2012 10:32:11 -0700
I can't reproduce the problem with the source you provided using Xcode4.5.1. You need a stripped down test-case (and file a bug report please), citing Xcode and lldb version.
Thanks, Han Ming
On Oct 26, 2012, at 3:43 PM, Rick Mann <email@hidden> wrote:
> In my debug build, with optimizations off, I'm getting out-of-order execution from this code. The numbers on the left represent the breakpoint (1), and each line after issuing the step over command.
>
> - (MissionEventView*)
> createViewForEvent: (MissionEvent*) inEvent
> spot: (NSUInteger) inSpot
> {
> 1 CGRect r = ::CGRectInset(self.bounds, 0.0f, 0.0f);
> 2,4 float deltaY = r.size.height / mMaxEventsDisplayed;
> 5 NSLog(@"deltaY: %f", deltaY);
> 6 deltaY = ::round(deltaY);
>
> 7 r.size.height = deltaY;
> //r.origin.y -= deltaY;
> 3,8 r.origin.y += inSpot * deltaY;
>
> 9 MissionClockAppDelegate* appDelegate = (MissionClockAppDelegate*) [[UIApplication sharedApplication] delegate];
>
> ...
> }
>
> I'm very confused.
>
> --
> Rick
>
>
>
>
> _______________________________________________
> 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