xtr33me
12 years agoVisitor
How to get objects memory address space?
Is there a way to print the address space that an object is using? I am trying to troubleshoot an issue I am running into and I am trying to see if an object is calling its own function or if due to the public nature of roku, I am calling a global function on a single object x number of times. So I essentially just want to print the address of the object I am making the call from and what it is actually being called on. Is this at all possible to do in roku?
In my case I have one singleton which then contains an array of another class that can be instantiated x number of times. Due to this I couldn't make it a singleton, but I tried always having it make calls to its this object, however I think I am running into an issue when I am having my singleton manage callbacks.
Simpy put, can I print the address space of an object on the roku and if so how 🙂 TIA!
In my case I have one singleton which then contains an array of another class that can be instantiated x number of times. Due to this I couldn't make it a singleton, but I tried always having it make calls to its this object, however I think I am running into an issue when I am having my singleton manage callbacks.
Simpy put, can I print the address space of an object on the roku and if so how 🙂 TIA!