Re: Stepping over inline functions
Re: Stepping over inline functions
- Subject: Re: Stepping over inline functions
- From: Jim Ingham <email@hidden>
- Date: Mon, 28 Nov 2005 11:10:08 -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.
Not that this helps much :-( But at least you'll know what's going
on...
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 .
Jim
On Nov 28, 2005, at 2:50 AM, Aurélien Hugelé wrote:
I get the same problem and it is very annoying :)
it seems to be since Xcode 2.2
thanks
On 28 nov. 05, at 02:37, email@hidden wrote:
While debugging with Xcode 2.2, clicking Step Over will "step
into" inline functions. I don't remember this happening with
previous versions of Xcode. Is there a way to turn this feature
off? I would like to step past inline functions like NSMakeRect()
without having to set a breakpoint.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40gumitech.com
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
_______________________________________________
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