Re: Target does not respond to this message selector
Re: Target does not respond to this message selector
- Subject: Re: Target does not respond to this message selector
- From: André Berg <email@hidden>
- Date: Mon, 24 Aug 2009 02:45:12 +0200
I was once told that we often need to cast to the particular object we
want to send a message too since gdb does not always know which kind
class we are referring to.
Try
(gdb) po [(NSString *)someObj selector]
if you need to send NSString a message.
And sometimes the option "Load debug symbols lazily" in Xcode's
Preferences under the Debugging section is causing symbols not to be
loaded.
Also, just in case, make sure you are not stripping any debug symbols
in the build prefs on project or executable level.
That's all that comes to mind right now.
Hope it helps in some way.
André
Am 24.08.2009 um 02:08 schrieb Seth Willits:
In this project, any time I try to:
(gdb) po [someObj selector]
It *always* says someObj does not respond to the selector. This
happens with any object and any selector. I'm at my wits end for
making this work. Any ideas?
--
Seth Willits
_______________________________________________
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