[lldb-dev] Can't see ivars declared in extension or @implementation.

Berk Özer berk.oezer at googlemail.com
Sun Jul 31 05:18:36 PDT 2011


Hi all.

In modern Objective-C, I can have my ivars declared in the implementation file instead of the header. See example below. Unfortunately, LLDB-69 is not able to see such ivars. They are missing from the list I get with "expr *self".  So here is a feature request  ;-) 

// .h
  @interface MyClass : NSObject
  @end

// .m
  @interface MyClass ()
  {
  @private
    int myIvar;
  }
  @end

  or

  @implementation MyClass
  {
  @private
    int myIvar
  }
  ...
  @end


Thanks.

  Berk Özer

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/lldb-dev/attachments/20110731/3f191710/attachment.html>


More information about the lldb-dev mailing list