Skip navigation
wamadden
Currently Being Moderated

Tracing back-references in ActionScript

Apr 17, 2012 12:04 AM

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?

 

Thanks,

Will

 

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points