Hi
It have now bothered me long enough that I have to ask if someone here have seen the same issue and maybe even have a fix. In my installation of Ozone (actually all installations of Ozone I have had), any watches of class variables is shown only with their function members. If I, however, make a typecast of the address of the class variable to a pointer of the class type in the watch window I can suddenly see the data members of the class (but if the class inherits from other classes I have to make a new pointer to the address shown of the part of the class with the inherited members (ozone shows me this address) to the parent class type to be able to see the data members of the inherited part of the class).
For an example if I have the following code in a cpp file:
If I then add a watch to this simply by writing globaltestinstance in the watch window, the watch will only show me the setvar and getvar members, but will, however, show me the address of the instance and the type of the variable. If I instead write "(testclasstype*) 0xDEADBEEF" in the watch window (assuming that 0xDEADBEEF is the address of the class instance), I will see both the setvar and getvar and the varval data member.
Do anyone see the same issue and do someone know a way to fix this?
It have now bothered me long enough that I have to ask if someone here have seen the same issue and maybe even have a fix. In my installation of Ozone (actually all installations of Ozone I have had), any watches of class variables is shown only with their function members. If I, however, make a typecast of the address of the class variable to a pointer of the class type in the watch window I can suddenly see the data members of the class (but if the class inherits from other classes I have to make a new pointer to the address shown of the part of the class with the inherited members (ozone shows me this address) to the parent class type to be able to see the data members of the inherited part of the class).
For an example if I have the following code in a cpp file:
If I then add a watch to this simply by writing globaltestinstance in the watch window, the watch will only show me the setvar and getvar members, but will, however, show me the address of the instance and the type of the variable. If I instead write "(testclasstype*) 0xDEADBEEF" in the watch window (assuming that 0xDEADBEEF is the address of the class instance), I will see both the setvar and getvar and the varval data member.
Do anyone see the same issue and do someone know a way to fix this?
The post was edited 2 times, last by andcor ().