STM32CubeMonitor: how to access public variables in a base class?
Hi,
I'm trying to use CubeMonitor to access public variables of a base class, and CubeMonitor doesn't see them.
The general structure I have is:
class Base {
public:
int var_1;
int var_2;
}
class Derived: public Base {
public:
int var_3;
int var_4;
}
When I load the corresponding *.elf file into CubeMonitor....
I can see:
instanceDerived.var_3,
instanceDerived.var_4
but I can't see:
instanceDerived.var_1,
instanceDerived.var_2
I expect that "public" variables in the base class should be "public" variables in the derived class. Why can't I see them? Is there something I'm doing wrong?
Best,
Nat
