Top Level Namespace
Defined Under Namespace
Modules: CodeRay, IRB, Kernel, Rubinius, Testing, Trace, Trepanning Classes: CmdParse, Display, DisplayMgr, Trepan
Instance Method Summary collapse
- #bp_status(brkpts, i) ⇒ Object
-
#brkpts ⇒ Object
p brkpts.line_breaks(iseq.source_container).
-
#display_signature(frame) ⇒ Object
return suitable frame signature to key display expressions off of.
- #dump_all ⇒ Object
- #event_processor(event, frame, arg = nil) ⇒ Object
-
#find_line(line) ⇒ Object
:nodoc.
- #five ⇒ Object
- #print_display(mgr) ⇒ Object
Methods included from Trepanning
debug_program, start_client, whence_file
Methods included from Trepan::Condition
Methods included from Trepan::CmdParser
#meth_for_parse_struct, #meth_for_string, #name_fix, #parse_breakpoint, #parse_breakpoint_no_condition, #parse_list, #parse_location, #parse_terminal, #resolve_method
Methods included from Trepan::Validate
Methods included from Trepan::Complete
complete_token, complete_token_filtered, complete_token_filtered_with_next, complete_token_with_next, next_token
Methods included from Trepanning::Method
find_method_with_line, lines_of_method, locate_line, locate_line_in_cm, top_scope, valid_ip?
Methods included from Trepan::Util
extract_expression, find_main_script, rubinius_internal?, safe_repr, suppress_warnings, uniq_abbrev
Methods included from Trepanning::FileName
Instance Method Details
#bp_status(brkpts, i) ⇒ Object
114 115 116 117 118 119 120 |
# File 'app/brkptmgr.rb', line 114 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)
136 |
# File 'app/brkptmgr.rb', line 136 p brkpts.delete(2) |
#display_signature(frame) ⇒ Object
return suitable frame signature to key display expressions off of.
9 10 11 12 |
# File 'app/display.rb', line 9 def display_signature(frame) return nil unless frame frame.vm_location.constant_scope end |
#dump_all ⇒ Object
121 122 123 124 125 126 |
# File 'app/eventbuffer.rb', line 121 def dump_all puts '-' * 40 @eventbuf.each do |e| puts @eventbuf.format_entry(e) if e end end |
#event_processor(event, frame, arg = nil) ⇒ Object
114 115 116 117 118 119 120 |
# File 'app/eventbuffer.rb', line 114 def event_processor(event, frame, arg=nil) begin @eventbuf.append(event, frame, arg) rescue p $! end end |
#find_line(line) ⇒ Object
:nodoc
162 163 164 165 166 |
# File 'app/method.rb', line 162 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 |
#five ⇒ Object
170 |
# File 'app/cmd_parse.rb', line 170 def five; 5 end |
#print_display(mgr) ⇒ Object
164 165 166 167 |
# File 'app/display.rb', line 164 def print_display(mgr) mgr.all.each {|line| puts line} puts '=' * 40 end |