DebugAction {SMRUCC.Rsharp.Interpreter} .NET clr documentation

DebugAction

Description

调试动作类型

单步语义均以 DebuggerContext.stackDepth 所记录的 块嵌套深度为判定基准, 具体的判定规则请参见 @M:SMRUCC.Rsharp.Interpreter.DebuggerContext.ShouldPause(SMRUCC.Rsharp.Interpreter.ExecuteEngine.Expression,SMRUCC.Rsharp.Runtime.Environment,SMRUCC.Rsharp.Interpreter.Breakpoint@) 函数.

Declare

            
# namespace SMRUCC.Rsharp.Interpreter
export class DebugAction extends Enum {
   # 继续运行, 直到命中下一个断点为止
   Continue: DebugAction = 0;

   # 单步跳过: 在与当前语句相同或者更外层的位置暂停, 被调用的函数体/循环体将会被完整执行完毕而不会中途暂停
   StepOver: DebugAction = 1;

   # 单步进入: 在下一条被执行的语句处暂停, 无论其位于哪一个嵌套层级, 因此可以进入用户所自定义的函数体内部
   StepInto: DebugAction = 2;

   # 单步跳出: 一直执行到当前的代码块返回至其外层代码块之后再暂停
   StepOut: DebugAction = 3;

   # 停止执行整个脚本程序
   Stop: DebugAction = 4;

}

        

.NET clr type reference tree

  1. this class extends from Enum class: Enum
  2. use by field member Continue: DebugAction
  3. use by field member StepOver: DebugAction
  4. use by field member StepInto: DebugAction
  5. use by field member StepOut: DebugAction
  6. use by field member Stop: DebugAction

[Package {$package} version {$version} Index]