Top Level Namespace
- Includes:
- Trepan::Util, Trepan::Validate, Trepanning, Trepanning::ISeq, Trepanning::Method
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
- #bp_status(brkpts, i) ⇒ Object
-
#brkpts ⇒ Object
p brkpts.line_breaks(iseq.source_container).
-
#find_line(line) ⇒ Object
:nodoc.
Methods included from Trepan::Validate
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
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 |
#brkpts ⇒ Object
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 |