class PryNav::Tracer

def process_command(command = {})

def process_command(command = {})
  times = (command[:times] || 1).to_i
  times = 1 if times <= 0
  case command[:action]
  when :step
    @step_in_lines = times
    @frames_when_stepping = nil
    true
  when :next
    @step_in_lines = times
    @frames_when_stepping = @frames
    true
  else
    false
  end
end