* Implement onDebuggerStatement(Context) added in Rhino 1.7.
* Minor Javadoc and import cleanup.
This commit is contained in:
parent
e307d212fd
commit
6d2f294252
1 changed files with 10 additions and 1 deletions
|
@ -20,7 +20,6 @@ import helma.framework.ResponseTrans;
|
|||
import helma.util.HtmlEncoder;
|
||||
import org.mozilla.javascript.*;
|
||||
import org.mozilla.javascript.debug.*;
|
||||
import java.util.Stack;
|
||||
import java.util.ArrayList;
|
||||
|
||||
public class Tracer implements Debugger {
|
||||
|
@ -30,6 +29,7 @@ public class Tracer implements Debugger {
|
|||
|
||||
/**
|
||||
* Create a tracer that writes to this response object
|
||||
* @param res the response object to write to
|
||||
*/
|
||||
public Tracer(ResponseTrans res) {
|
||||
this.res = res;
|
||||
|
@ -108,6 +108,15 @@ public class Tracer implements Debugger {
|
|||
render();
|
||||
}
|
||||
|
||||
/**
|
||||
* Called when the function or script executes a 'debugger' statement.
|
||||
*
|
||||
* @param cx current Context for this thread
|
||||
*/
|
||||
public void onDebuggerStatement(Context cx) {
|
||||
// not implemented
|
||||
}
|
||||
|
||||
/**
|
||||
* Called when executed code reaches new line in the source.
|
||||
*/
|
||||
|
|
Loading…
Add table
Reference in a new issue