Hi all,
There's an NSBlockOperation getting added to the main operation queue somehow, and I'm trying to figure out when this is happening. I've created a symbolic breakpoint for -[NSOperationQueue addOperation:], and I've tried adding the following condition:
[$arg3 isKindOfClass:[NSBlockOperation class]] && ($arg1 == [NSOperationQueue mainQueue])
However, it's still breaking on every single `addOperation:` call, even when it's not the main queue. I tried changing it to [[$arg1 name] isEqualToString:@"NSOperationQueue Main Queue"] as well, but it's still breaking on everything. Is this a bug in Xcode? When I run these same checks in lldb, I get the correct response.
This is occurring in the App Store version of Xcode 7 and Xcode 8 GM.