Chris Nelson wrote:
Guys,

This sounds like an awesome list of stuff, but a feature that I think would help a lot of with JRoR projects would be to improve the debugging experience. Right now the only way to get JRuby on Rails debugging to work in NetBeans is by setting an undocumented property in a config file. And even then, it's quite buggy. From what I understand Netbeans needs to have the fast debugger supported in JRuby before this situation will improve. I would be willing to lend a hand on this if someone could point me in the right direction. I've done a ton of Java and am doing more Ruby all the time, but I'm not too familiar with the internals of JRuby or how this would need to work.

Hi Chris,

I've rewritten a lot of ruby_debug.c (76kB of C code) into the JRuby based Java code. I started with empty skeleton written by Charles (src/org/jruby/debug/RubyDebugBaseLibrary.java in headius branch).

Currently I'm having:

  Context.java
  DebugBreakpoint.java
  DebugEventHook.java
  DebuggerContext.java
  DebuggerDef.java
  DebuggerFrame.java
  Debugger.java
  RubyDebugBaseLibrary.java
  Util.java

But it's one big mess, since I started in very similar position as you. A lot of Java coding, some Ruby coding, 8+ year ago C coding. So I'm still deleting and rewriting what I wrote as I'm getting into the JRuby APIs (BTW purely documented guys! ;) ) I did not expect anyone to join so I did not share the code anywhere. And actually I'm not sure if it is sharable yet ;) Probably I could commit something soon into debug-commons at rubyforge.org (right place?) after some clean-up. But not sure how much time I find in the next few days. I would let you know. Also depending how soon are you willing to start. Probably immediately? :)

        m.

---------------------------------------------------------------------
To unsubscribe from this list please visit:

   http://xircles.codehaus.org/manage_email

Reply via email to