• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
LLDB error "class ... has incompatible superclasses"
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: LLDB error "class ... has incompatible superclasses"
      • From: Jim Ingham <email@hidden>
  • Prev by Date: 'The account '<redacted>' has no team with ID '<redacted>' "
  • Next by Date: Re: LLDB error "class ... has incompatible superclasses"
  • Previous by thread: 'The account '<redacted>' has no team with ID '<redacted>' "
  • Next by thread: Re: LLDB error "class ... has incompatible superclasses"
  • Index(es):
    • Date
    • Thread