class Byebug::Skipper::UpsCommand
this class is partially copy/pasted from Byebug::UpCommand
Public Class Methods
description()
click to toggle source
# File lib/byebug/skipper/ups_command.rb, line 16 def self.description short_description end
regexp()
click to toggle source
# File lib/byebug/skipper/ups_command.rb, line 8 def self.regexp /^ \s* ups \s* $/x end
short_description()
click to toggle source
# File lib/byebug/skipper/ups_command.rb, line 12 def self.short_description "Same as `up` but skips garbage frames, e.g. from gems" end
Public Instance Methods
execute()
click to toggle source
# File lib/byebug/skipper/ups_command.rb, line 20 def execute loop do break if out_of_bounds?(context.frame.pos + 1) jump_frames(1) break if not Byebug::Skipper.skip?(context.location) end Byebug::ListCommand.new(processor).execute if Byebug::Setting[:autolist] end