Class Dim.ContextData

  • Enclosing class:
    Dim

    public static class Dim.ContextData
    extends java.lang.Object
    Class to store information about a stack.
    • Field Detail

      • frameStack

        private ObjArray frameStack
        The stack frames.
      • breakNextLine

        private boolean breakNextLine
        Whether the debugger should break at the next line in this context.
      • stopAtFrameDepth

        private int stopAtFrameDepth
        The frame depth the debugger should stop at. Used to implement "step over" and "step out".
      • eventThreadFlag

        private boolean eventThreadFlag
        Whether this context is in the event thread.
      • lastProcessedException

        private java.lang.Throwable lastProcessedException
        The last exception that was processed.
    • Constructor Detail

      • ContextData

        public ContextData()
    • Method Detail

      • frameCount

        public int frameCount()
        Returns the number of stack frames.
      • getFrame

        public Dim.StackFrame getFrame​(int frameNumber)
        Returns the stack frame with the given index.
      • pushFrame

        private void pushFrame​(Dim.StackFrame frame)
        Pushes a stack frame on to the stack.
      • popFrame

        private void popFrame()
        Pops a stack frame from the stack.