JRuby Fast Debugger 0.10.1
Friday the 13th, the good time for a new release :), here it is:
-J-Djruby.reflection=true -J-Djruby.compile.mode=OFF monster is needed any more. JRuby 1.1.2
(see JIRA 2474 for details) comes with special flag
for debugging. Now all is needed is to pass --debug parameter to JRuby. So to debug your
application, you just need to run:
jruby --debug -S rdebug <your-script>
Enjoy and any feedback is welcomed as always.
Posted at 07:27AM Jun 13, 2008 by Martin Krauskopf in Ruby | Comments[5]
Marting, this is really nice!
One note though, it seems that --debug is not working with JRuby on Windows. I've just fixed that, see JRUBY-2664 for more details.
Posted by Vladimir Sizikov on June 15, 2008 at 03:49 AM PDT #
So in JRuby 1.1.2 one have to stick with the:
-J-Djruby.reflection=true -J-Djruby.compile.mode=OFF
right? Thanks for checking/fixing this, Vladimir.
Posted by Martin Krauskopf on June 15, 2008 at 11:42 PM PDT #
PS: sure, meaning on Windows in my previous post.
Posted by Martin Krauskopf on June 15, 2008 at 11:43 PM PDT #
Martin, yeah, the longer command line options should work, and --debug will work on current JRuby's trunk, and on JRuby 1.1.3.
Posted by Vladimir Sizikov on June 17, 2008 at 02:06 PM PDT #
Posted by Insider Scoop From the Tutorial Divas on July 21, 2008 at 05:55 PM PDT #