Re: Leopard XCode debugger steps into OS functions
Re: Leopard XCode debugger steps into OS functions
- Subject: Re: Leopard XCode debugger steps into OS functions
- From: Scott Thompson <email@hidden>
- Date: Fri, 29 Feb 2008 23:49:52 -0600
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:
This email sent to email@hidden