Developers

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
xtr33me
Visitor

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!
Tags (1)
0 Kudos
Community is Being Upgraded!

We’re upgrading Roku Community to bring you a faster, more mobile-friendly experience. You may notice limited functionality or read-only access during this time. Read more here.

Planned Downtime:
Community will be unavailable for up to 24–48 hours during the upgrade window during the week of May 19th and you may notice reduced functionality. In the meantime, for additional assistance, visit our Support Site.

We're sorry for this disruption — we’re excited to share what’s next!