Package org.htmlunit.javascript
Class DebuggerImpl
java.lang.Object
org.htmlunit.javascript.DebuggerAdapter
org.htmlunit.javascript.DebuggerImpl
- All Implemented Interfaces:
org.htmlunit.corejs.javascript.debug.Debugger
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(org.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.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.htmlunit.corejs.javascript.debug.DebugFrame
getFrame
(org.htmlunit.corejs.javascript.Context cx, org.htmlunit.corejs.javascript.debug.DebuggableScript functionOrScript) Methods inherited from class org.htmlunit.javascript.DebuggerAdapter
handleCompilationDone
-
Constructor Details
-
DebuggerImpl
public DebuggerImpl()
-
-
Method Details
-
getFrame
public org.htmlunit.corejs.javascript.debug.DebugFrame getFrame(org.htmlunit.corejs.javascript.Context cx, org.htmlunit.corejs.javascript.debug.DebuggableScript functionOrScript) - Specified by:
getFrame
in interfaceorg.htmlunit.corejs.javascript.debug.Debugger
- Overrides:
getFrame
in classDebuggerAdapter
-