Struct B
{
Int a;
Int b;
};
Class A: public list
{
Public:
Int c;
};
A, the test.
If the test is a global variables, always operating list list, delete data, what is good and convenient method to observe its data in memory? If it is a common variable, set breakpoints, then using c + + builder Debuger is very convenient to see the value of the variable, but this kind of complex object, what is the convenient way? Above is relatively simple inherited, trouble spot can traverse the list elements in the test object, if only for a few more layers, I don't know what to do,
CodePudding user response:
What want to see what leads to it, don't want to too complicated...CodePudding user response:
You can keep the value of a variable, in notepadCodePudding user response:
Codesite?CodePudding user response:
Thanks for your help, codesite ok? Never used, I just want to when inherited container, many layers of inheritance, how can easily see objects inside all of the data,CodePudding user response:
I this is through print output to view the object data, not found with what can see,CodePudding user response:
Alt + F5 shortcuts try click to view variablesCodePudding user response:
Elder brother has always been ShowMessage (XXX);CodePudding user response:
Thank you for your reply, it seems only printed out, sometimes inherit 5 layer list class, you need to 5 layers for loop to iterate through the data inside, although can see the data, but always feel a little trouble,CodePudding user response:
Print it more intuitive