类 DebugContext
java.lang.Object
org.beetl.core.Context
org.beetl.core.debug.DebugContext
用于调试
-
字段概要
从类继承的字段 org.beetl.core.Context
byteOutputMode, byteWriter, globalVar, gotoFlag, gt, isInit, localBuffer, NOT_EXIST_OBJECT, safeOutput, staticTextArray, template, tempVarStartIndex, vars -
构造器概要
构造器限定符构造器说明protectedDebugContext(GroupTemplate gt, DebugProgramMetaData debugProgramMetaData) protectedDebugContext(GroupTemplate gt, DebugProgramMetaData debugProgramMetaData, ContextBuffer buffer) -
方法概要
修饰符和类型方法说明voidaddBreakLine(int line) int当前停留在哪一行currentVars(int line) protected voidfindBlockPaths(DebugBlockEnvContext block, List<DebugBlockEnvContext> paths, int line) 根据行找到最近的代码块intintvoidremoveBreakLine(int line) voidsetBreakLines(Set<Integer> breakLines) voidsetDebugLock(DebugLock debugLock) voidsetDebugLockListener(DebugLockListener debugLockListener) voidsetDebugProgramMetaData(DebugProgramMetaData debugProgramMetaData) voidsetDebugStatus(int debugStatus) voidsetLockTime(int lockTime) int运行到下一个断点int单行调试int从类继承的方法 org.beetl.core.Context
completed, destroy, exist, getCurrentTag, getGlobal, getResource, getResourceId, set, setCurrentTag
-
构造器详细资料
-
DebugContext
-
DebugContext
protected DebugContext(GroupTemplate gt, DebugProgramMetaData debugProgramMetaData, ContextBuffer buffer)
-
-
方法详细资料
-
currentVars
-
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
-
setBreakLines
-
findBlockPaths
protected void findBlockPaths(DebugBlockEnvContext block, List<DebugBlockEnvContext> paths, int line) 根据行找到最近的代码块- 参数:
block-line-
-
getDebugLock
-
setDebugLock
-
getDebugProgramMetaData
-
setDebugProgramMetaData
-
getDebugLockListener
-
setDebugLockListener
-
getDebugStatus
public int getDebugStatus() -
setDebugStatus
public void setDebugStatus(int debugStatus) -
getLockTime
public int getLockTime() -
setLockTime
public void setLockTime(int lockTime)
-