• 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
Conditional breakpoint on "NSThread.isMainThread() == false"?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Conditional breakpoint on "NSThread.isMainThread() == false"?


  • Subject: Conditional breakpoint on "NSThread.isMainThread() == false"?
  • From: Rick Mann <email@hidden>
  • Date: Mon, 16 Nov 2015 20:28:25 -0800

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


  • Follow-Ups:
    • Re: Conditional breakpoint on "NSThread.isMainThread() == false"?
      • From: "Clark S. Cox III" <email@hidden>
  • Prev by Date: Re: Regular git vs. "Apple Git" - How and Why?
  • Next by Date: Re: Conditional breakpoint on "NSThread.isMainThread() == false"?
  • Previous by thread: Media library - resource name collisions
  • Next by thread: Re: Conditional breakpoint on "NSThread.isMainThread() == false"?
  • Index(es):
    • Date
    • Thread