Sha256: 6518f986004da9136e1edc72db732964cd1d0c87205082220b96e41c585d13fd
Contents?: true
Size: 764 Bytes
Versions: 2
Compression:
Stored size: 764 Bytes
Contents
require 'byebug/command' require 'byebug/helpers/parse' module Byebug # # Implements the step functionality. # # Allows the user the continue execution until the next instruction, possibily # in a different frame. Use step to step into method calls or blocks. # class StepCommand < Command include Helpers::ParseHelper self.allow_in_post_mortem = false def regexp /^\s* s(?:tep)? (?:\s+(\S+))? \s*$/x end def execute steps, err = parse_steps(@match[1], 'Steps') return errmsg(err) unless steps @state.context.step_into(steps, @state.frame) @state.proceed end def description <<-EOD s[tep][ nnn] Steps (into methods) once or nnn times. EOD end end end
Version data entries
2 entries across 2 versions & 2 rubygems
Version | Path |
---|---|
sc_core-0.0.7 | test/dummy/vendor/bundle/ruby/2.2.0/gems/byebug-5.0.0/lib/byebug/commands/step.rb |
byebug-5.0.0 | lib/byebug/commands/step.rb |