org.apache.bsf.debug.jsdi

Interface JsCode

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

public interface JsCode
extends JsObject

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

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.
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 Details

getLineNumbers

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


getSourceName

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