org.mozilla.javascript.debug
Interface Debugger
public interface Debugger
Interface to implement if the application is interested in receiving debug
information.
getFrame
public DebugFrame getFrame(Context cx,
DebuggableScript fnOrScript)
Called when execution entered a particular function or script.
- implementation of DebugFrame which receives debug information during
the function or script execution or null otherwise
handleCompilationDone
public void handleCompilationDone(Context cx,
DebuggableScript fnOrScript,
String source)
Called when compilation of a particular function or script into internal
bytecode is done.
cx
- current Context for this threadfnOrScript
- object describing the function or scriptsource
- the function or script source