Hi All,
anyone has an idea how to obtain the reference counter (or even setting it) for an object?
Thanks,
Andreas
Hi All,
anyone has an idea how to obtain the reference counter (or even setting it) for an object?
Thanks,
Andreas
You don’t (to either part of your question)
What is it you’re trying t accomplish that you think you might need this ?
debugging purposes. I’d like to know which variable / object is actually leaking. The output from /usb/bin/leaks might help the xonjo developers but is not too helpful for me. The only way to find the leaking candidate is to go step through the code and invoke leaks after each step.
There is no way to get or set the reference count
you can increase it by putting the object in a global array or dictionary
would be nice if I could examine this in the debugger, at least. But perhaps this is then a feature request.
Thanks for your replies.