Re: Stepping over inline functions
Re: Stepping over inline functions
- Subject: Re: Stepping over inline functions
- From: email@hidden
- Date: Mon, 28 Nov 2005 17:24:31 -0800
The debugger has always behaved this way. I have a bug to fix this
somehow, but it is a but tricky since the debugger doesn't actually
know that these lines come from an inlined function, only that the
source file has changed. I don't want to step over stuff that's not
an inlined function.
The reason you are seeing it more frequently now is that the gcc
version in Xcode 2.2 has started obeying the always_inline attribute
even at -O0, whereas earlier versions would generally make a function
and use that for all inlines at -O0.
I hope the reason for changing gcc's behavior in this situation was a
good one. It seems like it would be a whole lot easier to simply go
back to generating a single function at -O0. It would probably be
nice to step over inline code at other optimizations though...
Not that this helps much :-( But at least you'll know what's going
on...
It is nice to know what is going on, thanks.
In Xcode, if you Option-Click in the gutter of the source display in
the debugger, it will continue to the line you clicked on (it's
setting a temporary breakpoint & continuing in one gesture). That's
a much faster way to skip over a line or two .
That helps a lot, thanks again.
_______________________________________________
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