• 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: Jerry Krinock <email@hidden>
  • Date: Sun, 08 Apr 2012 17:18:33 -0700

On Apr 8, 2012, at 4:32 AM, Roland King wrote:

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

Yes, but since I don't do breakpoint conditions very often I'd then have to spend 15 minutes debugging my breakpoint conditions.


On 2012 Apr 08, at 10:56, Jens Alfke wrote:

> Well, they don't exist until the first time they're called. After that they do.
> So maybe waiting till the app has had a chance to run long enough to create the methods, and only then setting the breakpoints, would work.

Nice idea, but in my "sample of one" test, it didn't work.

* * *

Thanks for the thoughts.


 _______________________________________________
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: 
 >Breakpoint when Core Data property if no custom setter (From: Jerry Krinock <email@hidden>)
 >Re: Breakpoint when Core Data property if no custom setter (From: Roland King <email@hidden>)
 >Re: Breakpoint when Core Data property if no custom setter (From: Jens Alfke <email@hidden>)

  • Prev by Date: How can I obtain the current SDK version specified in the target?
  • Next by Date: Re: How can I obtain the current SDK version specified in the target?
  • Previous by thread: Re: Breakpoint when Core Data property if no custom setter
  • Next by thread: Detecting iOS and Mac OS X when running unit tests
  • Index(es):
    • Date
    • Thread