JSNI and Impl.getNameOf (!! not public api !!) are your friends to make this work.
For cross-browser support, In the future there will be Object.observe but not sure about the current state. Also you can probably find some polyfills to make it work today. On Sun, Mar 23, 2014 at 12:40 AM, Michael Vogt <[email protected]> wrote: > Hello. > > Hope it is ok to ask this question here. > > While hunting for bugs in functions that are called during user > activities like drag & drop or scrolling, I always think that there > should be a better way to keep track of the internal values. > > The watch() function of firefox would come in handy here, I guess: > > https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/watch > > I couldn't find a way to use this from GWT. Am I missing something or > is there no way? > > Also, is an equivalent functionality available for Chrome? > > > Thanks, > Michael > > -- > http://groups.google.com/group/Google-Web-Toolkit-Contributors > --- > You received this message because you are subscribed to the Google Groups > "GWT Contributors" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/d/optout. > -- http://groups.google.com/group/Google-Web-Toolkit-Contributors --- You received this message because you are subscribed to the Google Groups "GWT Contributors" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
