Class Dim.ContextData
java.lang.Object
org.mozilla.javascript.tools.debugger.Dim.ContextData
- Enclosing class:
- Dim
Class to store information about a stack.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate boolean
Whether the debugger should break at the next line in this context.private boolean
Whether this context is in the event thread.private ObjArray
The stack frames.private Throwable
The last exception that was processed.private int
The frame depth the debugger should stop at. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionint
Returns the number of stack frames.static Dim.ContextData
Returns the ContextData for the given Context.getFrame
(int frameNumber) Returns the stack frame with the given index.private void
popFrame()
Pops a stack frame from the stack.private void
pushFrame
(Dim.StackFrame frame) Pushes a stack frame on to the stack.
-
Field Details
-
frameStack
The stack frames. -
breakNextLine
private boolean breakNextLineWhether the debugger should break at the next line in this context. -
stopAtFrameDepth
private int stopAtFrameDepthThe frame depth the debugger should stop at. Used to implement "step over" and "step out". -
eventThreadFlag
private boolean eventThreadFlagWhether this context is in the event thread. -
lastProcessedException
The last exception that was processed.
-
-
Constructor Details
-
ContextData
public ContextData()
-
-
Method Details
-
get
Returns the ContextData for the given Context. -
frameCount
public int frameCount()Returns the number of stack frames. -
getFrame
Returns the stack frame with the given index. -
pushFrame
Pushes a stack frame on to the stack. -
popFrame
private void popFrame()Pops a stack frame from the stack.
-