Skip to content
Ruby debugger for Rubinius 2.0x. See also rb-trepanning
Ruby Shell
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
app
bin
data
interface
io
lib
processor
sample
test
.gitignore
.travis.yml
ChangeLog
Gemfile
LICENSE
Makefile
NEWS
README.md
Rakefile
THANKS
interface.rb
io.rb
processor.rb
rbx-trepanning.gemspec

README.md

Build Status

Summary trepanx

The trepanning debugger gdb-like debugger. As such, it is both a high-level and low-level debugger. It is a also a rewrite of ruby-debug.

Installing

   gem install rbx-trepanning

If you want to run from git:

   $ git clone https://github.com/rocky/rbx-trepanning.git
   $ cd rbx-trepanning
   $ bundle install      # load dependent packages
   $ rake test           # test it
   $ rake install        # install it

should get you going.

Running

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

See Also

Author

Rocky Bernstein

Something went wrong with that request. Please try again.