Is this still a bug with lldb? It something wrong with how CBL extends MYDynamicObject?

24 views
Skip to first unread message

Brendan Duddridge

unread,
Oct 31, 2015, 11:48:08 PM10/31/15
to Couchbase Mobile
Hi,

I know I've mentioned this before and it seemed like it was a bug with LLDB or something, but I'm not sure. This is the only framework where I have this trouble.

The error I get when I try to print out the contents of a variable when my breakpoint is in any of my model objects is this:

(lldb) po [records valueForKey:@"values"]

error: class 'CBLModel' has incompatible superclasses

note: inherits from superclass 'MYDynamicObject' here

error: 1 errors parsing expression


It makes debugging very difficult.

Thanks,

Brendan

Jens Alfke

unread,
Nov 1, 2015, 1:12:26 AM11/1/15
to mobile-c...@googlegroups.com

On Oct 31, 2015, at 8:48 PM, Brendan Duddridge <bren...@gmail.com> wrote:

I know I've mentioned this before and it seemed like it was a bug with LLDB or something, but I'm not sure. This is the only framework where I have this trouble.

Yeah, it’s an LLDB bug, but last I heard they couldn’t reproduce it reliably so they didn’t know how to fix it. (See below.) I kept meaning to file an Apple bug report with instructions on how to build/debug with CBL, but didn’t get around to it yet… O_o

Begin forwarded message:

From: Jim Ingham <jin...@apple.com>
Subject: Re: LLDB error "class ... has incompatible superclasses"
Date: July 29, 2015 at 5:57:07 PM PDT
To: Jens Alfke <je...@mooseyard.com>
Cc: XCode Users <xcode...@lists.apple.com>

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

—Jens

Brendan Duddridge

unread,
Nov 1, 2015, 4:25:19 AM11/1/15
to Couchbase Mobile
Ok, thanks for the update. 

Does it happen to you too? Or is it just me?

Thanks,

Brendan
Reply all
Reply to author
Forward
0 new messages