| java.lang.Object org.apache.cocoon.components.flow.javascript.LocationTrackingDebugger
LocationTrackingDebugger | public class LocationTrackingDebugger implements Debugger(Code) | | A Rhino debugger that tracks location information when an exception is raised in some JavaScript code.
It's purpose is to build a
org.apache.cocoon.ProcessingException that holds the stacktrace
in the JavaScript code.
This debugger implementation is designed to be as lightweight and fast as possible, in order to have a
negligible impact on the performances of the Rhino interpreter.
since: 2.1.8 version: $Id: LocationTrackingDebugger.java 433543 2006-08-22 06:22:54Z crossley $ |
Method Summary | |
public DebugFrame | enterFrame(Context cx, Scriptable scope, Scriptable thisObj, Object[] args, DebuggableScript fnOrScript) | public Exception | getException(String description, Exception originalException) | public DebugFrame | getFrame(Context cx, DebuggableScript fnOrScript) | public void | handleCompilationDone(Context cx, DebuggableScript fnOrScript, StringBuffer source) | public void | handleCompilationDone(Context cx, DebuggableScript fnOrScript, String source) |
enterFrame | public DebugFrame enterFrame(Context cx, Scriptable scope, Scriptable thisObj, Object[] args, DebuggableScript fnOrScript)(Code) | | Rhino+cont API
|
getFrame | public DebugFrame getFrame(Context cx, DebuggableScript fnOrScript)(Code) | | Rhino 1.6 API
|
handleCompilationDone | public void handleCompilationDone(Context cx, DebuggableScript fnOrScript, StringBuffer source)(Code) | | Rhino+cont API
|
handleCompilationDone | public void handleCompilationDone(Context cx, DebuggableScript fnOrScript, String source)(Code) | | Rhino 1.6 API
|
|
|