This code snippet helps to get the real insight of an object instead of returning ‘[object object]’ while tracing. Now I’ve completely rewritten it to take care of circular references, escaping quotes in Strings, and function references. Also I’ve created a “ActionScript” function to get the complete picture of the object. We can use the produced actionscript to rebuild the objects.
Take a look at the the following usage example
It can be downloaded from here.