Class JsoEval

java.lang.Object
com.google.gwt.core.ext.debug.JsoEval

public class JsoEval extends Object
Provides facilities for debuggers to call methods on JavaScriptObjects.

Because devmode does extensive rewriting of JSO bytecode, debuggers can't figure out how to evaluate JSO method calls. This class can be used directly by users to evaluate JSO methods in their debuggers. Additionally, debuggers with GWT support use this class to transparently evaluate JSO expressions in breakpoints, watch windows, etc.

Example uses:

   JsoEval.call(Element.class, myElement, "getAbsoluteTop");
   JsoEval.call(Node.class, myNode, "cloneNode", Boolean.TRUE);
   JsoEval.call(Element.class, element.getFirstChildElement(), "setPropertyString", "phase",
     "gamma");