Logging injection for flex/actionscript?
Is it possible to trace every single method call in flex/actionscript by injecting loggin开发者_开发技巧g statements some way? Like how it's possible in C# using PostSharp.
I would suggest using Vizzy Tracer. It will create a special mm.cfg file to configure the stacktrace output in the Flash Player so you can see every method call throughout the execution of the application plus a bunch of other nifty debugging features.
Description from the google code site:
Vizzy Flash Tracer shows debug trace of SWF files without adding any extra code. It works in Firefox, Internet Explorer, Chrome, Safari, Flash IDE, Adobe AIR and other places where trace statements exist. Vizzy is cross-platform and has all features that a developer requires for a comfortable and fast debugging.
http://code.google.com/p/flash-tracer/
精彩评论