Top Level Namespace

Defined Under Namespace

Modules: IRB, Kernel, Rubinius, Trepanning Classes: BreakpointMgr, Trepan

Constant Summary

Constants included from Trepanning::ISeq

Trepanning::ISeq::OP_GOTO, Trepanning::ISeq::OP_GOTO_IF_FALSE, Trepanning::ISeq::OP_GOTO_IF_TRUE, Trepanning::ISeq::OP_RET, Trepanning::ISeq::OP_YIELD_STACK

Constants included from Trepanning

Trepanning::CMD_INITFILE, Trepanning::CMD_INITFILE_BASE, Trepanning::PROGRAM, Trepanning::VERSION

Instance Method Summary collapse

Methods included from Trepan::Validate

line_or_ip

Methods included from Trepanning::Method

find_method_with_line, lines_of_method, locate_line, locate_line_in_cm, valid_ip?

Methods included from Trepan::Util

find_main_script, safe_repr

Methods included from Trepanning::ISeq

disasm_prefix, #goto_between, goto_op?, #next_interesting, #yield_or_return_between

Methods included from Trepanning

#copy_default_options, #debug_program, ruby_path, #setup_options, #show_version, #whence_file

Instance Method Details

#bp_status(brkpts, i) ⇒ Object



101
102
103
104
105
106
107
# File 'app/brkptmgr.rb', line 101

def bp_status(brkpts, i)
  puts "list size: #{brkpts.list.size}"
  puts "set size: #{brkpts.set.size}"
  puts "max: #{brkpts.max}"
  p brkpts
  puts "--- #{i} ---"
end

#brkptsObject

p brkpts.line_breaks(iseq.source_container)



122
# File 'app/brkptmgr.rb', line 122

p brkpts.delete(2)

#find_line(line) ⇒ Object

:nodoc



158
159
160
161
162
# File 'app/method.rb', line 158

def find_line(line) # :nodoc
  cm = Rubinius::VM.backtrace(0)[0].method
  p lines_of_method(cm)
  p find_method_with_line(cm, line)
end