public class CallStackFrame extends Object implements net.sourceforge.htmlunit.corejs.javascript.debug.DebugFrame
Modifier and Type | Field and Description |
---|---|
net.sourceforge.htmlunit.corejs.javascript.debug.DebuggableScript |
fnOrScript
The function being executed.
|
JavaScriptDebugger |
owner
JavaScriptDebugger that this stack frame lives in. |
Constructor and Description |
---|
CallStackFrame(JavaScriptDebugger owner,
net.sourceforge.htmlunit.corejs.javascript.debug.DebuggableScript fnOrScript) |
Modifier and Type | Method and Description |
---|---|
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.
|
public final JavaScriptDebugger owner
JavaScriptDebugger
that this stack frame lives in.public final net.sourceforge.htmlunit.corejs.javascript.debug.DebuggableScript fnOrScript
public CallStackFrame(JavaScriptDebugger owner, net.sourceforge.htmlunit.corejs.javascript.debug.DebuggableScript fnOrScript)
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)
onEnter
in interface net.sourceforge.htmlunit.corejs.javascript.debug.DebugFrame
public void onExit(net.sourceforge.htmlunit.corejs.javascript.Context cx, boolean byThrow, Object resultOrException)
onExit
in interface net.sourceforge.htmlunit.corejs.javascript.debug.DebugFrame
public void onLineChange(net.sourceforge.htmlunit.corejs.javascript.Context cx, int lineNumber)
onLineChange
in interface net.sourceforge.htmlunit.corejs.javascript.debug.DebugFrame
public void onExceptionThrown(net.sourceforge.htmlunit.corejs.javascript.Context cx, Throwable ex)
onExceptionThrown
in interface net.sourceforge.htmlunit.corejs.javascript.debug.DebugFrame
public void onDebuggerStatement(net.sourceforge.htmlunit.corejs.javascript.Context cx)
onDebuggerStatement
in interface net.sourceforge.htmlunit.corejs.javascript.debug.DebugFrame
Copyright © 2004–2022. All rights reserved.