Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Stepping over inline functions



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:
http://lists.apple.com/mailman/options/xcode-users/hugele.aurelien% 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: http://lists.apple.com/mailman/options/xcode-users/email@hidden

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: http://lists.apple.com/mailman/options/xcode-users/email@hidden

This email sent to email@hidden
References: 
 >Stepping over inline functions (From: email@hidden)
 >Re: Stepping over inline functions (From: Aurélien Hugelé <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.