• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Target does not respond to this message selector
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
References: 
 >Target does not respond to this message selector (From: Seth Willits <email@hidden>)

  • Prev by Date: Target does not respond to this message selector
  • Next by Date: Re: Target does not respond to this message selector
  • Previous by thread: Target does not respond to this message selector
  • Next by thread: Re: Target does not respond to this message selector
  • Index(es):
    • Date
    • Thread