ClintD
09-26-2008, 03:28 PM
Is there a function to retrieve the memory address of objects? Something so that I can print it with the trace command?
When debugging in FB3, I can typically look at the Variables tab to get a list of variable names and their associated values, for the current context. Complex objects will typically show a Value like Object(@d5be179). Also, the names are listed hierarchically, so that you can view properties, etc.
XML objects however do not do this. They are treated as simple data types, and therefore you cannot view the properties (only the children), and it does not display the memory address of the objects. Is there a way of changing this behavior? Wouldn't it be better for FB3 to display it as it does normal objects?
Thanks!
-Clint
When debugging in FB3, I can typically look at the Variables tab to get a list of variable names and their associated values, for the current context. Complex objects will typically show a Value like Object(@d5be179). Also, the names are listed hierarchically, so that you can view properties, etc.
XML objects however do not do this. They are treated as simple data types, and therefore you cannot view the properties (only the children), and it does not display the memory address of the objects. Is there a way of changing this behavior? Wouldn't it be better for FB3 to display it as it does normal objects?
Thanks!
-Clint