• 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 over
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Stepping over


  • Subject: Stepping over
  • From: Rick Mann <email@hidden>
  • Date: Sun, 27 Jan 2013 16:39:01 -0800

I can't seem to get xcode to step over lines of source in the debugger. It always stops inside inline functions. For example, if I try to step over this line:

    [typeSig replaceOccurrencesOfString: @"." withString: @"" options: 0 range: NSMakeRange(0, typeSig.length)];

It stops in the NSRange.h header:

NS_INLINE NSRange NSMakeRange(NSUInteger loc, NSUInteger len) {
    NSRange r;
    r.location = loc;			<-- stops here
    r.length = len;
    return r;
}

There's a lot of STL in the code I'm working on, and so it stops ALL THE TIME in the headers. Stepping out doesn't do the right thing most of the time. It usually ends up stopped in the headers where the next line of my source invoked an STL method in-line.

But as you can see, it happens for non-STL stuff, too.


--
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 over
      • From: Juggler Shu <email@hidden>
    • Re: Stepping over
      • From: "Mills, Steve" <email@hidden>
    • Re: Stepping over
      • From: Joar Wingfors <email@hidden>
  • Prev by Date: Re: What happened to "Edit All in Context"?
  • Next by Date: Re: Stepping over
  • Previous by thread: Highlight color for type-over completions?
  • Next by thread: Re: Stepping over
  • Index(es):
    • Date
    • Thread