Uses of Interface
org.mozilla.javascript.debug.DebuggableScript
-
Packages that use DebuggableScript Package Description org.mozilla.javascript org.mozilla.javascript.debug org.mozilla.javascript.tools.debugger -
-
Uses of DebuggableScript in org.mozilla.javascript
Classes in org.mozilla.javascript that implement DebuggableScript Modifier and Type Class Description (package private) class
InterpreterData
Methods in org.mozilla.javascript that return DebuggableScript Modifier and Type Method Description static DebuggableScript
Context. getDebuggableView(Script script)
Return DebuggableScript instance if any associated with the script.DebuggableScript
InterpretedFunction. getDebuggableView()
DebuggableScript
NativeFunction. getDebuggableView()
DebuggableScript
InterpreterData. getFunction(int index)
DebuggableScript
InterpreterData. getParent()
Methods in org.mozilla.javascript with parameters of type DebuggableScript Modifier and Type Method Description private static void
Context. notifyDebugger_r(Context cx, DebuggableScript dscript, java.lang.String debugSource)
-
Uses of DebuggableScript in org.mozilla.javascript.debug
Methods in org.mozilla.javascript.debug that return DebuggableScript Modifier and Type Method Description DebuggableScript
DebuggableScript. getFunction(int index)
DebuggableScript
DebuggableScript. getParent()
Methods in org.mozilla.javascript.debug with parameters of type DebuggableScript Modifier and Type Method Description DebugFrame
Debugger. getFrame(Context cx, DebuggableScript fnOrScript)
Called when execution entered a particular function or script.void
Debugger. handleCompilationDone(Context cx, DebuggableScript fnOrScript, java.lang.String source)
Called when compilation of a particular function or script into internal bytecode is done. -
Uses of DebuggableScript in org.mozilla.javascript.tools.debugger
Fields in org.mozilla.javascript.tools.debugger with type parameters of type DebuggableScript Modifier and Type Field Description private java.util.Map<DebuggableScript,Dim.FunctionSource>
Dim. functionToSource
Table mapping functions to information about the function.Methods in org.mozilla.javascript.tools.debugger that return DebuggableScript Modifier and Type Method Description private static DebuggableScript[]
Dim. getAllFunctions(DebuggableScript function)
Returns an array of all functions in the given script.Methods in org.mozilla.javascript.tools.debugger with parameters of type DebuggableScript Modifier and Type Method Description private static void
Dim. collectFunctions_r(DebuggableScript function, ObjArray array)
Helper function forDim.getAllFunctions(DebuggableScript)
.private Dim.FunctionSource
Dim. functionSource(DebuggableScript fnOrScript)
Returns the FunctionSource object for the given function or script.private static DebuggableScript[]
Dim. getAllFunctions(DebuggableScript function)
Returns an array of all functions in the given script.DebugFrame
Dim.DimIProxy. getFrame(Context cx, DebuggableScript fnOrScript)
Returns a StackFrame for the given function or script.private Dim.FunctionSource
Dim. getFunctionSource(DebuggableScript fnOrScript)
Returns the FunctionSource object for the given script or function.private java.lang.String
Dim. getNormalizedUrl(DebuggableScript fnOrScript)
Returns the source URL for the given script or function.java.lang.String
SourceProvider. getSource(DebuggableScript script)
Returns the source of the script.void
Dim.DimIProxy. handleCompilationDone(Context cx, DebuggableScript fnOrScript, java.lang.String source)
Called when compilation is finished.private void
Dim. registerTopScript(DebuggableScript topScript, java.lang.String source)
Registers the given script as a top-level script in the debugger.Constructors in org.mozilla.javascript.tools.debugger with parameters of type DebuggableScript Constructor Description SourceInfo(java.lang.String source, DebuggableScript[] functions, java.lang.String normilizedUrl)
Creates a new SourceInfo object.
-