0 Replies Latest reply on Apr 17, 2012 12:04 AM by wamadden

    Tracing back-references in ActionScript


      I'm trying to capture memory profiling information so that I can perform a more in-depth analysis of what's happening than Flash Builder makes possible.


      So far I'm just trying to duplicate the functionality that exists in Flash Builder - namely, the live object list and back-reference tracing.


      Using the sampler API I've got a list of live objects, but I'm unsure of how to trace references between them. I can get the names of all members on each live object using flash.sampler.getMemberNames(), but I can't access many of them, as far as I can tell. I can use the reflection API to get a list of what properties to expect, but I have no guarantee that it'll be complete.


      Is there a better way of doing this?


      Does Flash Builder use some undocumented magic to get this information?