There’s a weird regression in Xcode 7. When execution is paused inside an Obj-C 
method whose class inherits from a specific abstract class in my library 
(CBLModel), any attempt to evaluate an expression involving that object fails 
with this error:

(lldb) po self

error: class 'CBLModel' has incompatible superclasses

note: inherits from superclass 'MYDynamicObject' here

error: 1 errors parsing expression


It only happens if the current stack frame is of a method on a CBLModel 
subclass, though. If I'm paused somewhere else and have a reference to a model, 
I can do “po model” (or something else involving it) and get a description.

I’m not the only one seeing this; another developer using the framework I work 
on reported the same issue.

This seems to be either an LLDB bug or perhaps something slightly wrong with my 
library that didn’t cause any problems until now; I’m not sure which.

—Jens
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/xcode-users/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to