class Byebug::CommandProcessor::State
def initialize(commands, context, display, file, interface, line)
def initialize(commands, context, display, file, interface, line) @commands, @context, @display = commands, context, display @file, @interface, @line = file, interface, line @frame_pos, @previous_line, @proceed = 0, nil, false end
def location
def location loc = "#{CommandProcessor.canonic_file(@file)} @ #{@line}\n" loc += "#{Byebug.line_at(@file, @line)}\n" unless ['(irb)', '-e'].include? @file loc end
def proceed
def proceed @proceed = true end
def proceed?
def proceed? @proceed end