howdy,

I thought I'd post a quick update on my progress with JRuby support:

Debugging:
 I managed to get the RDT debugger to work with JRuby - to a certain
degree. The patch I just submitted, will make the eclipseDebug.rb (the
debugging server implementation that RDT uses) work with JRuby (a bad
regex in there made JRuby trip up).
The good news is: breakpoints work with JRuby 0.9.2, although they're a
bit wobbly and the RDT GUI isn't as responsive when debugging JRuby (not
sure why that is, though).

The bad news:
 - Variables View:
   Seems like there's another bug in JRuby tracing function
implementation; in short, C/Ruby provides a Bindings object that
eclipseDebug.rb uses to look up the values; this doesn't happen in JRuby
- I filed a bug;
 - There's a problem with connecting the RDT GUI with the JRuby runtime;
   basically: JRuby's too slow - it takes a few seconds to start up;
this is bad, because the RDT Debugger GUI expects it to be instantly
available and - sometimes- doesn't connect; I fixed this very
primitively by adding a Thread.sleep(10000). Yeah... I know...... but it
works.


JRuby plugin:
Before someone asks: the JRuby functionality _must_ be a seperate plugin
from RDT Core, because it has some hefty dependencies on JDT.

I don't want to publish the plugin yet, because it needs some small
changes in RDT (the patches I just sent around), so it wouldn't be
usable to anyone except me anyways.  Also:  the whole JRuby debugging
process is a bit shakey/wobbly right now, and it's necessary to kick and
prod the Debugger in the right ways to make it work. Plus: I'm
experiencing some odd GUI lockups when debugging JRuby, although
debugging C/Ruby works perfectly.

With those patches get applied and some more stabilization, I'll put the
JRuby plugin available. I'll probably put it up on RubyForge (I wanted
to give Google Code a spin, but they don't take kindly to EPL at
Google...). 

murphee

-- 

Blog @ http://jroller.com/page/murphee 
Maintainer of EclipseShell @ http://eclipse-shell.sourceforge.net/



-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Rubyeclipse-development mailing list
Rubyeclipse-development@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rubyeclipse-development

Reply via email to