How to log value of dynamic variables

Jun 16, 2010 at 10:49 AM
Edited Jun 17, 2010 at 10:07 AM


I want to log all the values of evaluated dynamic variables  so that I can trace them back later. Ex:

Expression: MyObj1.A + MyObj2.B

when evaluate the expression, what events should I listen so that I can capture the "MyObj1.A" and "MyObj2.B" to write log?

As I know the lib dont have dynamic property events like variables and functions.

Any clue ?

Currently I have to replace the expression to somethings like : MyObj1.get_A() + MyObj2.get_B(),  capture the events and reparse them.

I think the Flee lib should raise InvokeFunction for unknown properties since a call to get value of property A actually a call to a method name get_A()