Re: LLDB error "class ... has incompatible superclasses"
Re: LLDB error "class ... has incompatible superclasses"
- Subject: Re: LLDB error "class ... has incompatible superclasses"
- From: Jim Ingham <email@hidden>
- Date: Wed, 29 Jul 2015 17:57:07 -0700
Jens,
This sounds more like an LLDB bug. We have one other report which doesn't reproduce for us, so we're kind of stuck on this. Please file a bug, and if you can make available a project that shows the issue that would be extra great!
Jim
> On Jul 29, 2015, at 5:32 PM, Jens Alfke <email@hidden> wrote:
>
> 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
_______________________________________________
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