Re: Stepping over
Re: Stepping over
- Subject: Re: Stepping over
- From: Joar Wingfors <email@hidden>
- Date: Sun, 27 Jan 2013 19:15:48 -0800
Which version of Xcode? GDB or LLDB?
Joar
On 27 jan 2013, at 16:39, Rick Mann <email@hidden> wrote:
> 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
_______________________________________________
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