org.apache.bsf.debug.jsdi
Interface JsCode

All Superinterfaces:
JsObject, java.rmi.Remote
All Known Subinterfaces:
JsFunction, JsScript
All Known Implementing Classes:
JsCodeStub

public interface JsCode
extends JsObject

This interface exposes debugging information from executable code (either functions or top-level scripts).


Field Summary
 
Fields inherited from interface org.apache.bsf.debug.jsdi.JsObject
DONTDELETE, DONTENUM, EMPTY, INTERNAL, READONLY
 
Method Summary
 int[] getLineNumbers()
          Get array containing the line numbers that can have breakpoints placed on them.
 java.lang.String getSourceName()
          Get the name of the source (usually filename or URL) of the script.
 
Methods inherited from interface org.apache.bsf.debug.jsdi.JsObject
define, delete, delete, get, get, getClassName, getDefaultValue, getIds, getPrototype, getScope, has, has, hasInstance, isFunction, isScript, put, put, setPrototype, setScope
 

Method Detail

getLineNumbers

public int[] getLineNumbers()
                     throws java.rmi.RemoteException
Get array containing the line numbers that can have breakpoints placed on them.

Throws:
java.rmi.RemoteException

getSourceName

public java.lang.String getSourceName()
                               throws java.rmi.RemoteException
Get the name of the source (usually filename or URL) of the script.

Throws:
java.rmi.RemoteException