Module: Debase::InstructionSequenceMixin

Defined in:
lib/debase.rb

Instance Method Summary collapse

Instance Method Details

#do_set_flags(iseq) ⇒ Object



113
114
115
116
# File 'lib/debase.rb', line 113

def do_set_flags(iseq)
  Debugger.set_trace_flag_to_iseq(iseq)
  iseq.each_child { |child_iseq| do_set_flags(child_iseq) } if iseq.respond_to? :each_child
end

#load_iseq(path) ⇒ Object



105
106
107
108
109
110
111
# File 'lib/debase.rb', line 105

def load_iseq(path)
  iseq = super(path)

  do_set_flags(iseq)

  iseq
end