Package org.jvnet.hudson.test.rhino
Class CallStackFrame
java.lang.Object
org.jvnet.hudson.test.rhino.CallStackFrame
- All Implemented Interfaces:
org.htmlunit.corejs.javascript.debug.DebugFrame
public class CallStackFrame
extends Object
implements org.htmlunit.corejs.javascript.debug.DebugFrame
Stack frame.
- Author:
- Kohsuke Kawaguchi
-
Field Summary
Modifier and TypeFieldDescriptionfinal org.htmlunit.corejs.javascript.debug.DebuggableScript
The function being executed.final JavaScriptDebugger
JavaScriptDebugger
that this stack frame lives in. -
Constructor Summary
ConstructorDescriptionCallStackFrame
(JavaScriptDebugger owner, org.htmlunit.corejs.javascript.debug.DebuggableScript fnOrScript) -
Method Summary
Modifier and TypeMethodDescriptionIn-scope variables.void
onDebuggerStatement
(org.htmlunit.corejs.javascript.Context cx) void
onEnter
(org.htmlunit.corejs.javascript.Context cx, org.htmlunit.corejs.javascript.Scriptable activation, org.htmlunit.corejs.javascript.Scriptable thisObj, Object[] args) void
onExceptionThrown
(org.htmlunit.corejs.javascript.Context cx, Throwable ex) void
void
onLineChange
(org.htmlunit.corejs.javascript.Context cx, int lineNumber) toString()
Formats this call stack, arguments, and its local variables as a human readable string.
-
Field Details
-
owner
JavaScriptDebugger
that this stack frame lives in. -
fnOrScript
public final org.htmlunit.corejs.javascript.debug.DebuggableScript fnOrScriptThe function being executed.
-
-
Constructor Details
-
CallStackFrame
public CallStackFrame(JavaScriptDebugger owner, org.htmlunit.corejs.javascript.debug.DebuggableScript fnOrScript)
-
-
Method Details
-
onEnter
public void onEnter(org.htmlunit.corejs.javascript.Context cx, org.htmlunit.corejs.javascript.Scriptable activation, org.htmlunit.corejs.javascript.Scriptable thisObj, Object[] args) - Specified by:
onEnter
in interfaceorg.htmlunit.corejs.javascript.debug.DebugFrame
-
onExit
public void onExit(org.htmlunit.corejs.javascript.Context cx, boolean byThrow, Object resultOrException) - Specified by:
onExit
in interfaceorg.htmlunit.corejs.javascript.debug.DebugFrame
-
onLineChange
public void onLineChange(org.htmlunit.corejs.javascript.Context cx, int lineNumber) - Specified by:
onLineChange
in interfaceorg.htmlunit.corejs.javascript.debug.DebugFrame
-
onExceptionThrown
- Specified by:
onExceptionThrown
in interfaceorg.htmlunit.corejs.javascript.debug.DebugFrame
-
onDebuggerStatement
public void onDebuggerStatement(org.htmlunit.corejs.javascript.Context cx) - Specified by:
onDebuggerStatement
in interfaceorg.htmlunit.corejs.javascript.debug.DebugFrame
-
getVariables
In-scope variables. -
toString
Formats this call stack, arguments, and its local variables as a human readable string.
-