• 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: debugging unrecognized selector
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: debugging unrecognized selector


  • Subject: Re: debugging unrecognized selector
  • From: Quincey Morris <email@hidden>
  • Date: Fri, 16 May 2014 01:06:44 -0700

On May 16, 2014, at 01:01 , Torsten Curdt <email@hidden> wrote:

> the debugger only stops in UIApplicationMain.

That’s most likely because your “level of detail” slider (the horizontal slider below the call stack in the Debug pane) isn’t at the extreme right end.

> What I am seeing in the log is
>
> 2014-05-16 09:46:56.796 MyApp[30998:60b] -[__NSCFString CGColor]:
> unrecognized selector sent to instance 0x10debb640
>
> Checking the address with `po` I can see the string. But it still did
> not help to find where this happens. I added the following
> breakpoints:
>
> * All Exceptions
> * -[__NSCFString CGColor]
> * -[NSString CGColor]

The last 2 won’t help. NSString doesn’t have such a method, so the breakpoints will never trigger. (You’ve effectively set a breakpoint on a global symbol that doesn’t exist.)

_______________________________________________

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


  • Follow-Ups:
    • Re: debugging unrecognized selector
      • From: Torsten Curdt <email@hidden>
References: 
 >debugging unrecognized selector (From: Torsten Curdt <email@hidden>)

  • Prev by Date: Re: debugging unrecognized selector
  • Next by Date: Re: where to put persistent storage for command-line app
  • Previous by thread: Re: debugging unrecognized selector
  • Next by thread: Re: debugging unrecognized selector
  • Index(es):
    • Date
    • Thread