public class RhinoDebugger.RhinoDebugFrame extends EaseDebugFrame implements org.mozilla.javascript.debug.DebugFrame, IScriptDebugFrame
TYPE_FILE, TYPE_FUNCTION
Constructor and Description |
---|
RhinoDebugFrame(org.mozilla.javascript.debug.DebuggableScript fnOrScript,
Script script) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getName() |
java.util.Map<java.lang.String,java.lang.Object> |
getVariables() |
java.lang.Object |
inject(java.lang.String expression) |
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) |
void |
setVariable(java.lang.String name,
java.lang.Object content) |
getLineNumber, getScript, getType, setLineNumber
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getLineNumber, getScript, getType, setLineNumber
public RhinoDebugFrame(org.mozilla.javascript.debug.DebuggableScript fnOrScript, Script script)
public void onEnter(org.mozilla.javascript.Context cx, org.mozilla.javascript.Scriptable activation, org.mozilla.javascript.Scriptable thisObj, java.lang.Object[] args)
onEnter
in interface org.mozilla.javascript.debug.DebugFrame
public void onLineChange(org.mozilla.javascript.Context cx, int lineNumber)
onLineChange
in interface org.mozilla.javascript.debug.DebugFrame
public void onExceptionThrown(org.mozilla.javascript.Context cx, java.lang.Throwable ex)
onExceptionThrown
in interface org.mozilla.javascript.debug.DebugFrame
public void onExit(org.mozilla.javascript.Context cx, boolean byThrow, java.lang.Object resultOrException)
onExit
in interface org.mozilla.javascript.debug.DebugFrame
public void onDebuggerStatement(org.mozilla.javascript.Context cx)
onDebuggerStatement
in interface org.mozilla.javascript.debug.DebugFrame
public java.lang.String getName()
getName
in interface IScriptDebugFrame
getName
in class EaseDebugFrame
public java.util.Map<java.lang.String,java.lang.Object> getVariables()
getVariables
in class EaseDebugFrame
public void setVariable(java.lang.String name, java.lang.Object content)
setVariable
in interface IScriptDebugFrame
setVariable
in class EaseDebugFrame
public java.lang.Object inject(java.lang.String expression) throws java.lang.Throwable
inject
in interface IScriptDebugFrame
inject
in class EaseDebugFrame
java.lang.Throwable