Skip to content
Ruby debugger for Rubinius 1.2. See also rb-trepanning
Pull request Compare This branch is 337 commits behind rocky:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
app
bin
data
doc
interface
io
lib
processor
test
.gemspec
.gitignore
ChangeLog
LICENSE
Makefile
NEWS
README.textile
Rakefile
THANKS

README.textile

A debugger for Rubinius 1.2.x

 [sudo] gem install rbx-trepanning

should get you going.

There is a google group mailing list for Ruby debuggers.

To run initially:


   $ trepanx my-ruby-program.rb

Or to call from inside your code:

 require 'trepanning' 
 debugger # Don't stop here...
 work # but stop here.

If you want an immediate stop:

 debugger(:immediate=>true)

Finally, if you put in your .trepanx

 Rubinius::Loader.debugger = proc { 
  require 'trepanning'; 
  Trepan.start(:skip_loader => :Xdebug) 
}

Then you can use the -Xdebug option the Ruby, e.g.

rbx -Xdebug my-ruby-program.rb

There is extensive on-line help. Run “help” inside the debugger.

Something went wrong with that request. Please try again.