org.jvnet.hudson.test.rhino
Class CallStackFrame
java.lang.Object
org.jvnet.hudson.test.rhino.CallStackFrame
- All Implemented Interfaces:
- net.sourceforge.htmlunit.corejs.javascript.debug.DebugFrame
public class CallStackFrame
- extends Object
- implements net.sourceforge.htmlunit.corejs.javascript.debug.DebugFrame
Stack frame.
- Author:
- Kohsuke Kawaguchi
Method Summary |
SortedMap<String,Object> |
getVariables()
In-scope variables. |
void |
onDebuggerStatement(net.sourceforge.htmlunit.corejs.javascript.Context cx)
|
void |
onEnter(net.sourceforge.htmlunit.corejs.javascript.Context cx,
net.sourceforge.htmlunit.corejs.javascript.Scriptable activation,
net.sourceforge.htmlunit.corejs.javascript.Scriptable thisObj,
Object[] args)
|
void |
onExceptionThrown(net.sourceforge.htmlunit.corejs.javascript.Context cx,
Throwable ex)
|
void |
onExit(net.sourceforge.htmlunit.corejs.javascript.Context cx,
boolean byThrow,
Object resultOrException)
|
void |
onLineChange(net.sourceforge.htmlunit.corejs.javascript.Context cx,
int lineNumber)
|
String |
toString()
Formats this call stack, arguments, and its local variables as a human readable string. |
owner
public final JavaScriptDebugger owner
JavaScriptDebugger
that this stack frame lives in.
fnOrScript
public final net.sourceforge.htmlunit.corejs.javascript.debug.DebuggableScript fnOrScript
- The function being executed.
CallStackFrame
public CallStackFrame(JavaScriptDebugger owner,
net.sourceforge.htmlunit.corejs.javascript.debug.DebuggableScript fnOrScript)
onEnter
public void onEnter(net.sourceforge.htmlunit.corejs.javascript.Context cx,
net.sourceforge.htmlunit.corejs.javascript.Scriptable activation,
net.sourceforge.htmlunit.corejs.javascript.Scriptable thisObj,
Object[] args)
- Specified by:
onEnter
in interface net.sourceforge.htmlunit.corejs.javascript.debug.DebugFrame
onExit
public void onExit(net.sourceforge.htmlunit.corejs.javascript.Context cx,
boolean byThrow,
Object resultOrException)
- Specified by:
onExit
in interface net.sourceforge.htmlunit.corejs.javascript.debug.DebugFrame
onLineChange
public void onLineChange(net.sourceforge.htmlunit.corejs.javascript.Context cx,
int lineNumber)
- Specified by:
onLineChange
in interface net.sourceforge.htmlunit.corejs.javascript.debug.DebugFrame
onExceptionThrown
public void onExceptionThrown(net.sourceforge.htmlunit.corejs.javascript.Context cx,
Throwable ex)
- Specified by:
onExceptionThrown
in interface net.sourceforge.htmlunit.corejs.javascript.debug.DebugFrame
onDebuggerStatement
public void onDebuggerStatement(net.sourceforge.htmlunit.corejs.javascript.Context cx)
- Specified by:
onDebuggerStatement
in interface net.sourceforge.htmlunit.corejs.javascript.debug.DebugFrame
getVariables
public SortedMap<String,Object> getVariables()
- In-scope variables.
toString
public String toString()
- Formats this call stack, arguments, and its local variables as a human readable string.
- Overrides:
toString
in class Object
Copyright © 2004-2013. All Rights Reserved.