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