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
public class DebuggerImpl extends DebuggerAdapter
HtmlUnit's implementation of the
Debugger
interface, which registersDebugFrameImpl
instances with Rhino for each new execution frame created. See the Rhino documentation or the interface source code for more info on theDebugger
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 outputTRACE
level log messages.
-
-
Constructor Summary
Constructors Constructor Description DebuggerImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.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
-
-
-
-
Method Detail
-
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
-
-