|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.gargoylesoftware.htmlunit.javascript.DebugFrameAdapter
com.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(net.sourceforge.htmlunit.corejs.javascript.debug.DebuggableScript functionOrScript)
Creates a new debug frame. |
|
| Method Summary | |
|---|---|
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 t)
|
void |
onLineChange(net.sourceforge.htmlunit.corejs.javascript.Context cx,
int lineNumber)
|
| Methods inherited from class com.gargoylesoftware.htmlunit.javascript.DebugFrameAdapter |
|---|
onDebuggerStatement, onExit |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DebugFrameImpl(net.sourceforge.htmlunit.corejs.javascript.debug.DebuggableScript functionOrScript)
functionOrScript - the function or script to which this frame corresponds| Method Detail |
|---|
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.DebugFrameonEnter in class DebugFrameAdapter
public void onExceptionThrown(net.sourceforge.htmlunit.corejs.javascript.Context cx,
Throwable t)
onExceptionThrown in interface net.sourceforge.htmlunit.corejs.javascript.debug.DebugFrameonExceptionThrown in class DebugFrameAdapter
public void onLineChange(net.sourceforge.htmlunit.corejs.javascript.Context cx,
int lineNumber)
onLineChange in interface net.sourceforge.htmlunit.corejs.javascript.debug.DebugFrameonLineChange in class DebugFrameAdapter
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||