ruby-debug

Open source Ruby extension that will offer a full-fledged debugger for Ruby
Download

ruby-debug Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Freeware
  • Price:
  • FREE
  • Publisher Name:
  • Kent Sibilev
  • Publisher web site:
  • http://rubyforge.org/projects/ruby-debug/
  • Operating Systems:
  • Mac OS X
  • File Size:
  • 115 KB

ruby-debug Tags


ruby-debug Description

Open source Ruby extension that will offer a full-fledged debugger for Ruby Faster implementation of the standard debug.rb using a native extension with a new hook Ruby C API. The main difference between ruby-debug and the standard debug.rb library is the speed of the execution. Major problem with debug.rb is that it uses Kernel#set_trace_func method, which requires creation of Binding object for each hook invocation. It is fine for small scripts, but for the real world applications like Rails ones, debug.rb is almost impossible to use. All you have to do is to just sit and watch how Ruby interpreter creates enormous amount of Binding objects, just in order to destroy them with the immediate garbage collection cycle. It also explains that ruby-debug doesn't support watchpoints for the same reason. What's New in This Release: · a backtrace now warns when it thinks the callstack is truncated which it gets by comparing with caller() · fix setting $0. · fix bug in showing variables in post-mortem · Document how Debugger.start with a block is intended to be used. · Move Kernel#debugger from ruby-debug-base into ruby-debug · Get regression tests working again · Warn and add a "confirmation" when setting a breakpoint on a file that is not loaded.


ruby-debug Related Software