public static class DIM.StackFrame
extends java.lang.Object
implements org.mozilla.javascript.debug.DebugFrame
| 限定符和类型 | 方法和说明 |
|---|---|
DIM.ContextData |
contextData()
Returns the ContextData object for the Context.
|
java.lang.String |
getFunctionName()
Returns the current function name.
|
int |
getLineNumber()
Returns the current line number.
|
java.lang.String |
getUrl()
Returns the source URL.
|
void |
onDebuggerStatement(Context cx)
Called when a 'debugger' statement is executed.
|
void |
onEnter(Context cx,
org.mozilla.javascript.Scriptable scope,
org.mozilla.javascript.Scriptable thisObj,
java.lang.Object[] args)
Called when the stack frame is entered.
|
void |
onExceptionThrown(Context cx,
java.lang.Throwable exception)
Called when an exception has been thrown.
|
void |
onExit(Context cx,
boolean byThrow,
java.lang.Object resultOrException)
Called when the stack frame has been left.
|
void |
onLineChange(Context cx,
int lineno)
Called when the current position has changed.
|
java.lang.Object |
scope()
Returns the scope object for this frame.
|
DIM.SourceInfo |
sourceInfo()
Returns the SourceInfo object for the function.
|
java.lang.Object |
thisObj()
Returns the 'this' object for this frame.
|
public void onEnter(Context cx, org.mozilla.javascript.Scriptable scope, org.mozilla.javascript.Scriptable thisObj, java.lang.Object[] args)
onEnter 在接口中 org.mozilla.javascript.debug.DebugFramepublic void onLineChange(Context cx, int lineno)
onLineChange 在接口中 org.mozilla.javascript.debug.DebugFramepublic void onExceptionThrown(Context cx, java.lang.Throwable exception)
onExceptionThrown 在接口中 org.mozilla.javascript.debug.DebugFramepublic void onExit(Context cx, boolean byThrow, java.lang.Object resultOrException)
onExit 在接口中 org.mozilla.javascript.debug.DebugFramepublic void onDebuggerStatement(Context cx)
onDebuggerStatement 在接口中 org.mozilla.javascript.debug.DebugFramepublic DIM.SourceInfo sourceInfo()
public DIM.ContextData contextData()
public java.lang.Object scope()
public java.lang.Object thisObj()
public java.lang.String getUrl()
public int getLineNumber()
public java.lang.String getFunctionName()