|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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. |
Scriptable |
getScriptable()
Get the Scriptable object (Function or Script) that is described by this DebuggableScript object. |
java.lang.String |
getSourceName()
Get the name of the source (usually filename or URL) of the script. |
boolean |
isFunction()
Returns true if this is a function, false if it is a script. |
boolean |
placeBreakpoint(int line)
Place a breakpoint at the given line. |
boolean |
removeBreakpoint(int line)
Remove a breakpoint from the given line. |
Method Detail |
public boolean isFunction()
public Scriptable getScriptable()
public java.lang.String getSourceName()
public int[] getLineNumbers()
public boolean placeBreakpoint(int line)
public boolean removeBreakpoint(int line)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |