com.gargoylesoftware.htmlunit.javascript
Class DebuggerImpl
java.lang.Object
com.gargoylesoftware.htmlunit.javascript.DebuggerAdapter
com.gargoylesoftware.htmlunit.javascript.DebuggerImpl
- All Implemented Interfaces:
- net.sourceforge.htmlunit.corejs.javascript.debug.Debugger
public class DebuggerImpl
- extends DebuggerAdapter
HtmlUnit's implementation of the Debugger interface,
which registers DebugFrameImpl instances with Rhino for each new execution frame created.
See the Rhino documentation or
the
interface source code for more info on the Debugger
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.
In order to enable the debugging output, call
HtmlUnitContextFactory.setDebugger(net.sourceforge.htmlunit.corejs.javascript.debug.Debugger), passing in
an instance of this class, and make sure your loggers are configured to output TRACE level log messages.
- Version:
- $Revision: 7931 $
- Author:
- Daniel Gredler
- See Also:
DebugFrameImpl,
HtmlUnitContextFactory.setDebugger(net.sourceforge.htmlunit.corejs.javascript.debug.Debugger)
|
Method Summary |
net.sourceforge.htmlunit.corejs.javascript.debug.DebugFrame |
getFrame(net.sourceforge.htmlunit.corejs.javascript.Context cx,
net.sourceforge.htmlunit.corejs.javascript.debug.DebuggableScript functionOrScript)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DebuggerImpl
public DebuggerImpl()
getFrame
public net.sourceforge.htmlunit.corejs.javascript.debug.DebugFrame getFrame(net.sourceforge.htmlunit.corejs.javascript.Context cx,
net.sourceforge.htmlunit.corejs.javascript.debug.DebuggableScript functionOrScript)
-
- Specified by:
getFrame in interface net.sourceforge.htmlunit.corejs.javascript.debug.Debugger- Overrides:
getFrame in class DebuggerAdapter
Copyright © 2002–2013 Gargoyle Software Inc.. All rights reserved.