Chris Nelson wrote:
Ok, I did the same and got a little farther. I've patched JRuby as you
suggested and built a jruby-debug.jar and put in JRUBY_HOME/lib. Then I
tried running jruby rdebug (I copied this from ruby-debug gem).
Unfortunately it appears jruby trunk is a bit unstable right now and
your code has been broken by changes to it :(
Here's what I've found thus far:
Thanks for the reports :)
JRuby compiler appears to be broken right now for executing code which
sets a module constant. Running the following with jit enabled will
throw a NoMethodError: "Foo:BAR = 1".
Fixed in 4400. Filed as JRUBY-1388.
I disabled JIT and that got me a littler farther, but I soon hit another
NoMethodError in the debug code, it appears that
ThreadContext.getFrameArgs has been removed. Not sure what we should
use as a replacement.
ThreadContext.getCurrentScope().getArgValues()
- Charlie
---------------------------------------------------------------------
To unsubscribe from this list please visit:
http://xircles.codehaus.org/manage_email