| java.lang.Object com.gargoylesoftware.htmlunit.javascript.DebugFrameImpl
DebugFrameImpl | public class DebugFrameImpl implements DebugFrame(Code) | |
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.
version: $Revision: 2132 $ author: Daniel Gredler See Also: DebuggerImpl |
Constructor Summary | |
public | DebugFrameImpl(DebuggableScript functionOrScript) Creates a new debug frame. |
DebugFrameImpl | public DebugFrameImpl(DebuggableScript functionOrScript)(Code) | | Creates a new debug frame.
Parameters: functionOrScript - the function or script to which this frame corresponds |
onEnter | public void onEnter(Context cx, Scriptable activation, Scriptable thisObj, Object[] args)(Code) | | |
onExceptionThrown | public void onExceptionThrown(Context cx, Throwable t)(Code) | | |
onExit | public void onExit(Context cx, boolean byThrow, Object resultOrException)(Code) | | |
onLineChange | public void onLineChange(Context cx, int lineNumber)(Code) | | |
|
|