类 DebugContext

java.lang.Object
org.beetl.core.Context
org.beetl.core.debug.DebugContext

public class DebugContext extends Context
用于调试
  • 构造器详细资料

  • 方法详细资料

    • currentVars

      public Map<String,Object> currentVars(int line)
    • stepOnLine

      public int stepOnLine()
      单行调试
    • stepNextToBreakLine

      public int stepNextToBreakLine()
      运行到下一个断点
    • stepToFinish

      public int stepToFinish()
    • currentBreakLine

      public int currentBreakLine()
      当前停留在哪一行
      返回:
    • addBreakLine

      public void addBreakLine(int line)
    • removeBreakLine

      public void removeBreakLine(int line)
    • getBreakLines

      public Set<Integer> getBreakLines()
    • setBreakLines

      public void setBreakLines(Set<Integer> breakLines)
    • findBlockPaths

      protected void findBlockPaths(DebugBlockEnvContext block, List<DebugBlockEnvContext> paths, int line)
      根据行找到最近的代码块
      参数:
      block -
      line -
    • getDebugLock

      public DebugLock getDebugLock()
    • setDebugLock

      public void setDebugLock(DebugLock debugLock)
    • getDebugProgramMetaData

      public DebugProgramMetaData getDebugProgramMetaData()
    • setDebugProgramMetaData

      public void setDebugProgramMetaData(DebugProgramMetaData debugProgramMetaData)
    • getDebugLockListener

      public DebugLockListener getDebugLockListener()
    • setDebugLockListener

      public void setDebugLockListener(DebugLockListener debugLockListener)
    • getDebugStatus

      public int getDebugStatus()
    • setDebugStatus

      public void setDebugStatus(int debugStatus)
    • getLockTime

      public int getLockTime()
    • setLockTime

      public void setLockTime(int lockTime)