Compare commits

...

2 Commits

2 changed files with 8 additions and 0 deletions

View File

@@ -17,6 +17,7 @@ namespace Convention.RScript.Runner
{
depth = jumpResult.Item1;
lastLayer = jumpResult.Item2;
context.CurrentRuntimePointer = target;
}
else
{

View File

@@ -267,9 +267,16 @@ namespace Convention.RScript
public int StepCount { get; private set; }
#if DEBUG
public List<RScriptSentence> StepStack = new();
#endif
internal object RunNextStep(ExpressionParser parser)
{
StepCount++;
#if DEBUG
StepStack.Add(CurrentSentence);
#endif
var sentence = CurrentSentence;
try
{