class RubyVM::InstructionSequence
Public Instance Methods
argc()
click to toggle source
# File debug-1.4.0/lib/debug/session.rb, line 61 def argc self.to_a[4][:arg_size] end
first_line()
click to toggle source
# File debug-1.4.0/lib/debug/session.rb, line 73 def first_line self.to_a[4][:code_location][0] end
last_line()
click to toggle source
# File debug-1.4.0/lib/debug/session.rb, line 69 def last_line self.to_a[4][:code_location][2] end
locals()
click to toggle source
# File debug-1.4.0/lib/debug/session.rb, line 65 def locals self.to_a[10] end
traceable_lines_norec(lines)
click to toggle source
# File debug-1.4.0/lib/debug/session.rb, line 37 def traceable_lines_norec lines code = self.to_a[13] line = 0 code.each{|e| case e when Integer line = e when Symbol if /\ARUBY_EVENT_/ =~ e.to_s lines[line] = [e, *lines[line]] end end } end
traceable_lines_rec(lines)
click to toggle source
# File debug-1.4.0/lib/debug/session.rb, line 52 def traceable_lines_rec lines self.each_child{|ci| ci.traceable_lines_rec(lines)} traceable_lines_norec lines end
type()
click to toggle source
# File debug-1.4.0/lib/debug/session.rb, line 57 def type self.to_a[9] end