KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
FlexBuilder's debugger will show you the "memory location" (or, I can only assume, something roughly analogous) of any in-scope instance: But I'd like to get this information in code (sort of like Python's id function), so I could very easily trace how objects move through out the system. For example, I might have: trace("Returning", id(foo)); Then somewhere else I could use: trace("Using", id(foo)); To make sure both bits of code are dealing with the same instance. Now, I know that many AS classes implement the IUID interface... But there are also a bunch of classes which don't (plain old arrays and objects, for example), so that wouldn't solve my problem. I realize that I could also wrap objects in an ObjectProxy , but that would be less than ideal as well.
Tags (comma-separated)
Save Edits
Cancel