• 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
Re: Stepping through out of order?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >Stepping through out of order? (From: Rick Mann <email@hidden>)

  • Prev by Date: Re: How to make a path relative to the current Xcode application?
  • Next by Date: How to use Instruments to profile network I/O?
  • Previous by thread: Stepping through out of order?
  • Next by thread: ARC refactor misses IBOutlets?
  • Index(es):
    • Date
    • Thread