Microsoft.Scripting.Interpreter.InterpretedFrame.GetStackTraceDebugInfo C# (CSharp) Method

GetStackTraceDebugInfo() public method

public GetStackTraceDebugInfo ( ) : IEnumerable
return IEnumerable
        public IEnumerable<InterpretedFrameInfo> GetStackTraceDebugInfo() {
            var frame = this;
            do {
                yield return new InterpretedFrameInfo(frame.Name, frame.GetDebugInfo(frame.InstructionIndex));
                frame = frame.Parent;
            } while (frame != null);
        }