Re: trying to enable NSZombie, gdb can't find OSO file
Re: trying to enable NSZombie, gdb can't find OSO file
- Subject: Re: trying to enable NSZombie, gdb can't find OSO file
- From: Martin Wierschin <email@hidden>
- Date: Sat, 13 Jun 2009 14:12:23 -0700
In any case, it seems like there's something really weird going on
with this one project. I can't seem to touch any Cocoa from gdb,
though other calls are fine:
(gdb) po [NSArray array]
Could not find OSO file: ""
(gdb) p/x (void*)CFDictionaryCreateMutable(0, 99, 0, 0)
$1 = 0x185ea00
(gdb) p/x (void*)malloc(99)
$1 = 0x323bb0
My target is configured to link with the Cocoa framework. Perhaps
I should take this to the XCode list, though if anyone has any
suggestions I'd be happy to hear them :)
Are you trying to do remote debugging?
Nope.
I still don't know what the problem is, but I found a workaround. If
I set a breakpoint anywhere in the project to trigger gdb, I can
touch NSZombieEnabled (and any other Cocoa symbols) just fine. It's
only if I manually break into gdb with the "pause" button that I get
the message about the OSO file.
Not great, but good enough for me to get some real work done!
~Martin
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden