public interface DebugFrame
| Modifier and Type | Method and Description | 
|---|---|
| void | onDebuggerStatement(Context cx)Called when the function or script executes a 'debugger' statement. | 
| void | onEnter(Context cx,
       Scriptable activation,
       Scriptable thisObj,
       java.lang.Object[] args)Called when execution is ready to start bytecode interpretation for entered a particular function or script. | 
| void | onExceptionThrown(Context cx,
                 java.lang.Throwable ex)Called when thrown exception is handled by the function or script. | 
| void | onExit(Context cx,
      boolean byThrow,
      java.lang.Object resultOrException)Called when the function or script for this frame is about to return. | 
| void | onLineChange(Context cx,
            int lineNumber)Called when executed code reaches new line in the source. | 
void onEnter(Context cx, Scriptable activation, Scriptable thisObj, java.lang.Object[] args)
cx - current Context for this threadactivation - the activation scope for the function or script.thisObj - value of the JavaScript this objectargs - the array of argumentsvoid onLineChange(Context cx, int lineNumber)
cx - current Context for this threadlineNumber - current line number in the script sourcevoid onExceptionThrown(Context cx, java.lang.Throwable ex)
cx - current Context for this threadex - exception objectvoid onExit(Context cx, boolean byThrow, java.lang.Object resultOrException)
cx - current Context for this threadbyThrow - if true function will leave by throwing exception, otherwise it
       will execute normal returnresultOrException - function result in case of normal return or
       exception object if about to throw exceptionvoid onDebuggerStatement(Context cx)
cx - current Context for this thread