This command displays the name and data types for all class member variables that are accessible in the function corresponding to the selected stack frame.
Specifies the name of a class member or a C expression that evaluates to a struct, union or class variable. If no
is specified then all members of the current function identified by this pointer are displayed.
Using high compiler optimization levels such as
-O2with --debug can produce a less than satisfactory debug view because the mapping of object code to source code is not always clear. If the compiler optimizes away the this pointer then using the
info memberscommand without an expression produces an error.