• 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: Breakpoint when Core Data property if no custom setter
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Breakpoint when Core Data property if no custom setter


  • Subject: Re: Breakpoint when Core Data property if no custom setter
  • From: Roland King <email@hidden>
  • Date: Sun, 08 Apr 2012 19:32:30 +0800

Tough - as the methods are dynamic they don't really exist.

I assume the dynamic code calls setValue:forKey: at some point, can you breakpoint there with a suitable condition?

On Apr 8, 2012, at 10:43 AM, Jerry Krinock wrote:

> I would like to set a breakpoint to break whenever a certain property changes in a Core Data object (NSManagedObject).  Entering the symbol
>
>  -[Foo setBar:]
>
> works fine if I have implemented a custom setter for 'bar'.
>
> But without the custom setter, I get "-" in the breakpoint's 'active' checkbox, which very disappointingly turns back to a "-" few milliseconds after I switch it on.  This indicates that the symbol cannot be found.  Of course, that makes sense, but is there a trick to fool it?
>
> Thanks,
>
> Jerry
>
> P.S.  I'm still mostly in Xcode 3.
>
>
> _______________________________________________
> 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

  • Follow-Ups:
    • Re: Breakpoint when Core Data property if no custom setter
      • From: Jens Alfke <email@hidden>
References: 
 >Breakpoint when Core Data property if no custom setter (From: Jerry Krinock <email@hidden>)

  • Prev by Date: Re: help! Xcode can't compile c++ projects.
  • Next by Date: Re: Breakpoint when Core Data property if no custom setter
  • Previous by thread: Breakpoint when Core Data property if no custom setter
  • Next by thread: Re: Breakpoint when Core Data property if no custom setter
  • Index(es):
    • Date
    • Thread