public StackFrame[] GetStackFrames()
        {
            var frames = _machine.GetExecutionFrames();
            var result = new StackFrame[frames.Count];
            int index  = 0;

            foreach (var frameInfo in frames)
            {
                var frame = new StackFrame();
                frame.LineNumber    = frameInfo.LineNumber;
                frame.Index         = index++;
                frame.MethodName    = frameInfo.MethodName;
                frame.Source        = frameInfo.Source;
                result[frame.Index] = frame;
            }
            return(result);
        }
 public void StepOver(ExecutionFrame currentFrame)
 {
     _currentState = DebugState.SteppingOver;
     _stopFrames   = _machine.GetExecutionFrames().Select(x => x.FrameObject).ToArray();
 }