Class: PryByebug::ContinueCommand

Inherits:
Pry::ClassCommand
  • Object
show all
Includes:
Helpers::Breakpoints, 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::Breakpoints

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

Methods included from Helpers::Navigation

#breakout_navigation

Instance Method Details

#processObject



27
28
29
30
31
32
33
34
35
# File 'lib/pry-byebug/commands/continue.rb', line 27

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