I've just made it to fix a ticket
(disclaimer: eclipse-based)

first, create a debug configuration for a remote java application: 
https://skitch.com/qmx.me/rcb5q/debug-configurations

then run your ruby code like this
gondor:jruby qmx$ jruby --1.9 
-J-Xrunjdwp:transport=dt_socket,address=8787,server=y,suspend=y 
path/to/my/ruby/script.rb

after starting it on cmdline, just run the "remote java application" on debug 
mode on eclipse.
(remember to put breakpoints at will)

HTH

On Jan 31, 2011, at 1:12 AM, Shih-gian Lee wrote:

> Hi everyone,
> 
> Is there a way to step through the JRuby source code in a debug mode?
> 
> Thanks!
> 
> - Lee

Douglas Campos (qmx)
doug...@theros.info
+55 11 6762 5959


---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to