Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Dynamic Languages Toolkit (DLTK) » JRuby debugging and debug gems
JRuby debugging and debug gems [message #536790] Mon, 31 May 2010 01:17 Go to next message
Ketan Padegaonkar is currently offline Ketan PadegaonkarFriend
Messages: 873
Registered: July 2009
Senior Member
Hi,

JRuby has a nice debug gem
(http://kenai.com/projects/jruby/pages/UsingTheJRubyDebugger) that is
used by intellij and netbeans for debug support in the IDE.

I'm looking to enhance dltk to use this debugger, and realized that dltk
uses a ruby based debugger that works with jruby as well (slow as hell,
but works).

Would the DLTK team be interested in using a standard gem that other
IDEs use for debugging instead of home grown debugging scripts?

Also is there any code I could look at to implement this kind of
functionality ?

Thanks!

-- Ketan
http://ketan.padegaonkar.name | http://eclipse.org/swtbot
Re: JRuby debugging and debug gems [message #539808 is a reply to message #536790] Sun, 13 June 2010 14:09 Go to previous message
Alex Panchenko is currently offline Alex PanchenkoFriend
Messages: 342
Registered: July 2009
Senior Member
Hi Ketan,

DLTK already uses that gem for ruby debugging, but it was not available for jruby when ruby debug was initially implemented.
That's why there is a test in org.eclipse.dltk.ruby.fastdebugger.FastDebuggerRunner.addEng ineConfig() to stop if running under jruby.

You can try to remove it and see if it works.
Probably it requires some changes for jruby and ruby 1.9 as well.
It would be great if you can help with it.

Thank you,
Alex
Previous Topic:[BUILD] S-2.0RC4-201006121203
Next Topic:jruby, gems and java autocompletes
Goto Forum:
  


Current Time: Sun Nov 23 21:34:00 GMT 2014

Powered by FUDForum. Page generated in 0.02125 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software