Class: PryByebug::ContinueCommand

Inherits:
Pry::ClassCommand
  • Object
show all
Includes:
Helpers::Breakpoints, Helpers::Location, Helpers::Navigation
Defined in:
lib/pry-byebug/commands/continue.rb

Overview

Continue program execution until the next breakpoint

Instance Method Summary collapse

Methods included from Helpers::Location

current_file

Methods included from Helpers::Breakpoints

#bold_puts, #breakpoints, #max_width, #print_breakpoints_header, #print_full_breakpoint, #print_short_breakpoint

Methods included from Helpers::Navigation

#breakout_navigation

Instance Method Details

#processObject


31
32
33
34
35
36
37
38
39
# File 'lib/pry-byebug/commands/continue.rb', line 31

def process
  PryByebug.check_file_context(target)

  breakpoints.add_file(current_file, args.first.to_i) if args.first

  breakout_navigation :continue
ensure
  Byebug.stop if Byebug.stoppable?
end