public string SerializeCallStack() { var sb = new StringBuilder(); for (var i = 0; i < FrameCount; i++) { var frame = CallStack[i]; sb.AppendLine($" At Op:{ScriptOps.GetName(frame.OriginatingNode.OperationId)} consuming Op:{ScriptOps.GetName(frame.Current.OperationId)} and next of {frame.Next}"); } return(sb.ToString()); }