|
|||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.gargoylesoftware.htmlunit.javascript.DebugFrameImpl
public class DebugFrameImpl
HtmlUnit's implementation of the DebugFrame
interface, which logs stack entries as well
as exceptions. All logging is done at the TRACE level. This class does a fairly good
job of guessing names for anonymous functions when they are referenced by name from an existing
object. See the Rhino
documentation or the
interface source code for more information on the DebugFrame
interface and its uses.
Please note that this class is intended mainly to aid in the debugging and development of HtmlUnit itself, rather than the debugging and development of web applications.
DebuggerImpl
Constructor Summary | |
---|---|
DebugFrameImpl(org.mozilla.javascript.debug.DebuggableScript functionOrScript)
Creates a new debug frame. |
Method Summary | |
---|---|
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 t)
|
void |
onExit(org.mozilla.javascript.Context cx,
boolean byThrow,
java.lang.Object resultOrException)
|
void |
onLineChange(org.mozilla.javascript.Context cx,
int lineNumber)
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.mozilla.javascript.debug.DebugFrame |
---|
onDebuggerStatement |
Constructor Detail |
---|
public DebugFrameImpl(org.mozilla.javascript.debug.DebuggableScript functionOrScript)
functionOrScript
- the function or script to which this frame correspondsMethod Detail |
---|
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 onExceptionThrown(org.mozilla.javascript.Context cx, java.lang.Throwable t)
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 onLineChange(org.mozilla.javascript.Context cx, int lineNumber)
onLineChange
in interface org.mozilla.javascript.debug.DebugFrame
|
|||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |