Stepping through out of order?
Stepping through out of order?
- Subject: Stepping through out of order?
- From: Rick Mann <email@hidden>
- Date: Fri, 26 Oct 2012 15:43:53 -0700
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