org.apache.bsf.debug.jsdi

Interface JsCode

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.
StringgetSourceName()
Get the name of the source (usually filename or URL) of the script.

Method Detail

getLineNumbers

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

getSourceName

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