Re: Error in testing breakpoint condition
Re: Error in testing breakpoint condition
- Subject: Re: Error in testing breakpoint condition
- From: Michael Babin <email@hidden>
- Date: Sat, 19 May 2012 16:53:54 -0500
On May 19, 2012, at 3:23 PM, Jerry Krinock wrote:
>
> On 2012 May 19, at 13:14, Jerry Krinock wrote:
>
> Sorry, I sent the message too fast. Breakpoint condition is this:
>
>> [[item name] hasPrefix:@"Daily"]
>
I encountered the same error until I cast the return type. In your example, it would be:
(BOOL)[[item name] hasPrefix:@"Daily"]
LLDB's error was a bit more helpful in figuring out what it was complaining about:
"error: no known method '-hasPrefix:'; cast the message send to the method's return type
error: 1 errors parsing expression"
_______________________________________________
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