Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Ruby > [ANN] [JRuby] Fast Debugger for JRuby

Thread Tools

[ANN] [JRuby] Fast Debugger for JRuby

Martin Krauskopf
Posts: n/a

we would like to announce the first 'official' public release of the
Fast Debugger for JRuby. It should be kind of stable these days. Still
not everything works perfectly, so we appreciate any kind of feedback.
E.g. through the Tracker on the debug-commons project site[1] or this
mailing list.

The installation is very easy, but still not perfect (due to the
problems we talked on jruby@dev recently).

1) download latest jruby-debug-base gem from the rubyforge [2]
2) gem install ruby-debug-base-0.9.3-java.gem
3) gem install -r ruby-debug # install CLI debugger interface

Now you can debug your Ruby scrips/apps/rails_apps with rdebug as you
are used to in CRuby.
If you are using GEM_HOME + having rdebug on your path, you might:

$ alias jrdebug="jruby `which rdebug`"

And then just

$ jrdebug tester.rb

Or just 'jruby -S rdebug tester.rb' should also work (did not try it).

Some notes:

- works only with JRuby 1.1 (trunk). So for users staying on the
cutting-edge only, for now.
- feel free to ping coders of your Ruby Editors/IDEs for starting to
support jruby-debug so we get more users



PS: not sure if this is right ML, but sending also here for those people
for which the absence of the Fast Debugger in JRuby was the reason to
not use the interpreter itself

Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
JRuby on Android (from: What would you like to know about Jruby?) Florian Gilcher Ruby 3 11-20-2008 07:02 AM The hub to all JRuby and JRuby on Rails (JRoR)resources... Ruby 0 12-15-2007 07:28 PM The hub to all JRuby and JRuby on Rails (JRoR)resources... Slim Baltagi Java 0 12-15-2007 07:26 PM
[JRuby] JRuby perf questions answered Charles Oliver Nutter Ruby 7 11-01-2007 05:11 AM
Any JRUBY programmers out there? Problems specifying RUBYLIB with jruby. Ronald Fischer Ruby 2 05-16-2007 09:34 PM