[Bug 51274] New: print object reference displays no members, yet there are

Bug ID 51274
Summary print object reference displays no members, yet there are
Product lldb
Version unspecified
Hardware PC
OS Windows NT
Status NEW
Severity normal
Priority P
Component All Bugs
Assignee lldb-dev@lists.llvm.org
Reporter cristiano@dibuduo.be
CC jdevlieghere@apple.com, llvm-bugs@lists.llvm.org

I can not inspect the contents of my objects. I have made a math library, which
I use in many projects, and on many platforms. None of my linear algebra
objects can be displayed, or otherwise investigated, other than by converting
the this-pointer to the element type pointer, and dumping that instead. I am
currently working on an Android native app, and it would be nice that my latest
version of Android Studio could allow me to see what's inside my object when it
is being watched. The current method which I am forced to use is tedious.

Upon request I am willing to provide the offending source code case. But I fail
to see why using the print command yields only curly braces. My classes are
indeed nested deeply and are heavily templatized, with the only members
residing in the ultimate superclass, about ten levels up, where sometimes
different kinds of objects and arrays of objects are all members of a union, in
a way that may appear a bit strange at first, but in my opinion there should
not be a reason for the exceptional behavior of the lldb print command just
giving up like it currently does.