ALL,
Consider following class structure:
class Base -> class public Derived1 -> class public Derived2.
I.e. there is a Base class. Class Derived1 is a direct child of Base and class Derived2 is a direct child of Derived2, but not not Base.
Is there a way in LLDB to see the class structure?
I'm trying to debug my program with LLDB on OSX and having difficulty seeing the class tree for a variable.
I tried to do:
> p (Derived1 *) this
but it did not help - it just showed the same (Derived2) class and its address in the output.
Thank you.
EDIT:
Trying
v *this
results in:
(lldb) v *this
error: the version command takes no arguments.
(lldb)
EDIT2:
This is what I get:
Igors-MacBook-Air:Debug igorkorot$ lldb
(lldb) version
lldb-902.0.79.7
Swift-4.1
(lldb)