Re: Breakpoint when Core Data property if no custom setter
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