class Byebug::IRBCommand
def execute
def execute unless @state.interface.kind_of?(LocalInterface) print "Command is available only in local mode.\n" throw :debug_error end cont = IRB.start_session(get_binding) case cont when :cont @state.proceed when :step force = Command.settings[:forcestep] @state.context.step_into 1, force @state.proceed when :next force = Command.settings[:forcestep] @state.context.step_over 1, @state.frame_pos, force @state.proceed else print @state.location @state.previous_line = nil end end