• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Stepping through out of order?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: Stepping through out of order?
      • From: Han Ming Ong <email@hidden>
  • Prev by Date: Private ivar not showing up in debugger?
  • Next by Date: Re: Code signing confusion
  • Previous by thread: Re: Private ivar not showing up in debugger?
  • Next by thread: Re: Stepping through out of order?
  • Index(es):
    • Date
    • Thread