Re: Conditional breakpoint on "NSThread.isMainThread() == false"?
Re: Conditional breakpoint on "NSThread.isMainThread() == false"?
- Subject: Re: Conditional breakpoint on "NSThread.isMainThread() == false"?
- From: Rick Mann <email@hidden>
- Date: Tue, 17 Nov 2015 14:46:46 -0800
> On Nov 16, 2015, at 20:58 , Clark S. Cox III <email@hidden> wrote:
>
>
> “[NSThread isMainThread] == false” ?
Stopped due to an error evaluating condition of breakpoint 2.2: "[NSThread isMainThread] == false"
Couldn't parse conditional expression:
error: no known method '+isMainThread'; cast the message send to the method's return type
error: 1 errors parsing expression
>> On 2015/11/16, at 20:28, Rick Mann <email@hidden> wrote:
>>
>> When I try to set up a conditional breakpoint with the condition
>>
>> NSThread.isMainThread() == false
>>
>> And run, Xcode prints this to the debug console:
>>
>> Stopped due to an error evaluating condition of breakpoint 2.6: "NSThread.isMainThread() == false"
>> Couldn't parse conditional expression:
>> error: property 'isMainThread' not found on object of type 'NSThread'
>> error: 1 errors parsing expression
>>
>> Is there any way to do what I'm trying to do?
>>
>> TIA,
>>
>> --
>> Rick Mann
>> 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
>
>
> _______________________________________________
> 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
--
Rick Mann
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