org.mozilla.javascript.debug
public interface DebugFrame
Method Summary | |
---|---|
void | onEnter(Context cx, Scriptable activation, Scriptable thisObj, Object[] args)
Called when execution is ready to start bytecode interpretation for entered a particular function or script. |
void | onExceptionThrown(Context cx, Throwable ex)
Called when thrown exception is handled by the function or script. |
void | onExit(Context cx, boolean byThrow, 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. |
Parameters: cx current Context for this thread activation the activation scope for the function or script. thisObj value of the JavaScript this
object args the array of arguments
Parameters: cx current Context for this thread ex exception object
Parameters: cx current Context for this thread byThrow if true function will leave by throwing exception, otherwise it will execute normal return resultOrException function result in case of normal return or exception object if about to throw exception
Parameters: cx current Context for this thread lineNumber current line number in the script source