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: Leopard XCode debugger steps into OS functions




On Feb 29, 2008, at 11:13 PM, Scott Thompson wrote:

I've started using standard XCode in Leopard (I think it's using stabs as the debugger?).
When I'm debugging, I'm forever going into Operating system routines when I try to step over something that calls the OS.

There have been several reports of this on the list recently (or something like it). I have seen it on several machines. No clue what fixes, but sometimes it seems to go away and sometimes it doesn't. You may have luck deleting your source and getting a fresh copy from your source repository. Or perhaps not. It's very frustrating and seems to be a recent problem (perhaps since 10.5.2 - though there may be older instances of it). Since it is difficult to reproduce (or even quantify) it's kind of hard to report.

Ugh... that's really frustrating.  This is happening to me too.

If I try to step into an Objective-C routine call, say...

[newStructureArea structureIsValid];

I actually end up hitting "dyld_stub_objc_msgSend" and subsequently obj_msgSend.

It really doesn't seem that there's any way to get back on track after that.

FWIW, this is happening for lots of projects, including some that have never come from source control.  I've tried reinstalling the dev tools, deleting preferences and app support, etc..

On one hand it's comforting to know that someone else is seeing the same problem.  On the other hand it's really hard to not have a debugger.  Grrr....

I was able to work around the problem by using STABS debugging symbols instead of the default.  In the build settings, I explicitly set  the "Debug Information Format" to Stabs and I can debug again.

Scott
 _______________________________________________
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: 
 >Leopard XCode debugger steps into OS functions (From: Tor Langballe <email@hidden>)
 >Re: Leopard XCode debugger steps into OS functions (From: Brady Duga <email@hidden>)
 >Re: Leopard XCode debugger steps into OS functions (From: Scott Thompson <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.