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(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.
DebugFrameImpl,
HtmlUnitContextFactory.setDebugger(org.htmlunit.corejs.javascript.debug.Debugger)| Constructor and Description |
|---|
DebuggerImpl() |
| Modifier and Type | Method and Description |
|---|---|
org.htmlunit.corejs.javascript.debug.DebugFrame |
getFrame(org.htmlunit.corejs.javascript.Context cx,
org.htmlunit.corejs.javascript.debug.DebuggableScript functionOrScript) |
handleCompilationDonepublic org.htmlunit.corejs.javascript.debug.DebugFrame getFrame(org.htmlunit.corejs.javascript.Context cx, org.htmlunit.corejs.javascript.debug.DebuggableScript functionOrScript)
getFrame in interface org.htmlunit.corejs.javascript.debug.DebuggergetFrame in class DebuggerAdapterCopyright © 2002–2025 Gargoyle Software Inc.. All rights reserved.