Hi Martin,

I recognize you from Netbeans Issuezilla :)  It's great to hear someone has
already started on this.  Sounds I'm starting at the same place you did:
looking at the ruby-debug-base c code and looking for the native methods we
would need to implement in JRuby.  Charles, is this headius branch the stub
code you were referring to?  It's marked as 0.9.3, is it still up to date?

Whenever you are ready, I'm happy to look at what you have and see where I
can contribute.  It will probably take me a bit to come up to speed, in
looking briefly at the headius branch stub methods I'm pretty much without a
clue as to where the JRuby API code is to implement them.  But I'm willing
to learn, any pointers and/or docs would be welcomed.

--Chris

On 8/17/07, Martin Krauskopf <[EMAIL PROTECTED]> wrote:
>
> Martin Krauskopf wrote:
> > 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! ;) )
>
> Ups. Should be "poorly". Sorry :)
>
>         m.
>
> ---------------------------------------------------------------------
> To unsubscribe from this list please visit:
>
>     http://xircles.codehaus.org/manage_email
>
>

Reply via email to