LLDB error "class ... has incompatible superclasses"
LLDB error "class ... has incompatible superclasses"
- Subject: LLDB error "class ... has incompatible superclasses"
- From: Jens Alfke <email@hidden>
- Date: Wed, 29 Jul 2015 17:32:42 -0700
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@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden