All languages compiled to JVM bytecode and support JSR-45 should work in regular Java debuggers, including Eclipse and IDEA.
While ago I've played with a JRuby prototype Charlie worked on and here is how it look like in the Eclipse debugger [1]. Though I am not sure if that stuff went into JRuby-proper or nor. There is of course, a catch, e.g. some stack frames does not directly map to any ruby nor Java code and this approach won't work with interpreting languages or when just in time compiler didn't kick in and there isn't really any bytecode. regards, Eugene [1] http://img200.imageshack.us/img200/6825/rubyc.png On Jun 17, 8:37 pm, James Abley <james.ab...@gmail.com> wrote: > Hi, > > Part of the attraction of having languages other than Java on the JVM > is that arguably more powerful, apt, glue languages can be used for > certain parts of an application, and then use Java (either for legacy > reasons) or performance, etc. > > One thing that I've encountered recently is the inability to debug > Ruby code (set breakpoints, etc) along with breakpoints in Java code - > I can only debug one layer (tried with Eclipse and IDEA; can't do it > in Netbeans either, but I don't know Netbeans very well). > . > I'm curious what experiences other language implementers have had in > providing support for this functionality, both in sharing ideas / > implementation experiences and to consider the possibility of any > common requirements that might need to be pushed up into the JVM, a la > invokedynamic? Is there more than JSR-45 required? > > Cheers, > > James > > N.B. I'm aware that there is sometimes a chasm to cross in terms of > attracting an audience to a language [1]; I think that languages on > the JVM have to contend with the fact that Java the Language offers > pretty good tooling and so that is a box that needs to be checked in > order to attract significant mind-share, unless the other features are > so compelling. > > [1]http://osteele.com/archives/2004/11/ides --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "JVM Languages" group. To post to this group, send email to jvm-languages@googlegroups.com To unsubscribe from this group, send email to jvm-languages+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/jvm-languages?hl=en -~----------~----~----~----~------~----~------~--~---