Hi Douglas,

Very nice! It worked for me.

I was just looking into an intro. bug, 5394, and it seems like you updated
the ticket :) I will take a look at it later. It is time for me to to to
bed.

Thanks again for your help!

- Lee

On Sun, Jan 30, 2011 at 10:29 PM, Douglas Campos <doug...@theros.info>wrote:

> 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