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