Discussion:
[RDT-Dev] debug status in jruby
Ricardo Trindade
2007-02-11 14:27:40 UTC
Permalink
Hi,

I've been following the debug in RDT discussion, I'm just wondering
if it applies to jruby already.

Since there's no apparent way to select jruby as the interpreter, I
usually run jruby apps with a java run, specifying jruby's main as the
main class, and the current selected file as the argument (via
${resource_loc}). Setting breakpoints in ruby code in this config
doesn't work (I really wasn't expecting it to work, but still tried.)

Can it be used on jruby at this point ?

thanks,
Ricardo
Christopher Williams
2007-02-12 14:33:19 UTC
Permalink
Ricardo,
murphee has been working on a plugin that adds JRuby specific extensions
for RDT - and part of that is to provide a JRuby VM/interpreter type that
should allow debugging. I'm not sure of his status on that work...

Thanks,
Chris
Post by Ricardo Trindade
Hi,
I've been following the debug in RDT discussion, I'm just wondering
if it applies to jruby already.
Since there's no apparent way to select jruby as the interpreter, I
usually run jruby apps with a java run, specifying jruby's main as the
main class, and the current selected file as the argument (via
${resource_loc}). Setting breakpoints in ruby code in this config
doesn't work (I really wasn't expecting it to work, but still tried.)
Can it be used on jruby at this point ?
thanks,
Ricardo
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job
easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Rubyeclipse-development mailing list
https://lists.sourceforge.net/lists/listinfo/rubyeclipse-development
--
http://cwilliams.textdriven.com
Werner Schuster (murphee)
2007-02-12 22:10:17 UTC
Permalink
Post by Ricardo Trindade
Since there's no apparent way to select jruby as the interpreter, I
usually run jruby apps with a java run, specifying jruby's main as the
main class, and the current selected file as the argument (via
${resource_loc}). Setting breakpoints in ruby code in this config
doesn't work (I really wasn't expecting it to work, but still tried.)
In short: it's working right now, the code for it lives over @
https://rubyforge.org/projects/rdt-jruby/
This is a seperate plugin that provides a JRuby VM config and this
allows debugging JRuby code (breakpoints only at the moment, due to some
problem with
JRuby).

If you're really courageous you can try the CVS version of the plugin
(Note: this'll need the latest in RDT (what will be RDT 0.9).)
OR you can wait a week (or so) - I'll put up a cleaned up version on an
update site.


murphee
--
Blog @ http://jroller.com/page/murphee Maintainer of EclipseShell @
http://eclipse-shell.sourceforge.net/
Ricardo Trindade
2007-02-13 10:23:24 UTC
Permalink
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Hi,<br>
<br>
&nbsp;&nbsp;&nbsp; I did check it out, but it seems there's no and or maven build
file... Since there's a build.properties, I'm guessing you forgot to
put it there. <br>
<br>
&nbsp;&nbsp;&nbsp; As long as trunk builds, I can assure you that we'll upgrade
regularly, use it and give you lots of feedback.<br>
<br>
thanks,<br>
Ricardo<br>
<br>
Werner Schuster (murphee) wrote:
<blockquote cite="***@gmail.com" type="cite">
<pre wrap="">Ricardo Trindade wrote:
</pre>
<blockquote type="cite">
<pre wrap=""> Since there's no apparent way to select jruby as the interpreter, I
usually run jruby apps with a java run, specifying jruby's main as the
main class, and the current selected file as the argument (via
${resource_loc}). Setting breakpoints in ruby code in this config
doesn't work (I really wasn't expecting it to work, but still tried.)

</pre>
</blockquote>
<pre wrap=""><!---->In short: it's working right now, the code for it lives over @
<a class="moz-txt-link-freetext" href="https://rubyforge.org/projects/rdt-jruby/">https://rubyforge.org/projects/rdt-jruby/</a>
This is a seperate plugin that provides a JRuby VM config and this
allows debugging JRuby code (breakpoints only at the moment, due to some
problem with
JRuby).

If you're really courageous you can try the CVS version of the plugin
(Note: this'll need the latest in RDT (what will be RDT 0.9).)
OR you can wait a week (or so) - I'll put up a cleaned up version on an
update site.


murphee

</pre>
</blockquote>
</body>
</html>
Markus Barchfeld
2007-02-13 10:52:35 UTC
Permalink
Hi,
I did check it out, but it seems there's no and or maven build file... Since
there's a build.properties, I'm guessing you forgot to put it there.
I think you have to set up a workspace. Setting up a workspace for RDT
is described here:
http://rubyeclipse.mktec.com/cgi-bin/trac.py/wiki/WorkspaceSetup.
cheers
Markus

Loading...