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).
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 |
getLineNumbers
public int[] getLineNumbers()
throws java.rmi.RemoteException
- Get array containing the line numbers that
can have breakpoints placed on them.
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.
java.rmi.RemoteException