getSourceName() Get the name of the source (usually filename or URL)
of the script.
public boolean
isFunction() Returns true if this is a function, false if it is a script.
public boolean
isGeneratedScript() Returns true if this script or function were runtime-generated
from JavaScript using eval function or Function
or Script constructors.
Get name of a declared parameter or local variable.
index should be less then
DebuggableScript.getParamAndVarCount() .
If index <
DebuggableScript.getParamCount(), return
the name of the corresponding parameter, otherwise return the name
of variable.
If this script is not function, return the name of the declared
global variable.