Doh! I should have updated jruby-trunk before I did that, my bad. Yes,
that was with the latest code in jruby-debug trunk. Just right now I was
debugging a very simple restful controller list method. It fails
consistently for me trying to step into Car.find(:all) -- it ends up
stepping into dependencies.rb for some reason. Stepping into code works
fine outside of rails for me, tho.
You can generate my silly little example app as follows: script/generate
scaffold_resource car make:string year:integer
I'll try to blog tonight details about how to get up and running so people
can play along at home that want to.
--Chris
On 10/22/07, Peter Brant <[EMAIL PROTECTED]> wrote:
>
> Cool. So was this with the latest and greatest (r315)? With the
> latest threading fixes, basic stepping (in / over) should work
> reasonably well. That it doesn't means we have more work to do, of
> course. Are there situations where it consistently fails?
>
> Pete
>
> P.S. Recent revisions of trunk use an array for the name attribute in
> @JRubyMethod vs. name1, name2, etc. I'll revert r316 to match.
>
> On 10/22/07, Chris Nelson <[EMAIL PROTECTED]> wrote:
> > Alrighty, I was able to test debugging rails inside of NetBeans and it
> > (mostly) worked! Yay! Thanks to Peter's latest patches I was able to
> step
> > inside of a controller (sometimes). So we're definitely moving along.
> >
> > One small suggestion: can we change the require 'ruby_debug.so' to
> require
> > 'ruby-debug-base' in ruby-debug-ide/lib/ruby-debug.rb? This will work
> in
> > both jruby-debug and ruby-debug as the ruby-debug-base gem will do the
> > requiring of the so or jar as appropriate. I checked and it seemed to
> work
> > fine for me in both JRuby and MRI. I could make this change but didn't
> want
> > to without asking since I haven't yet touched ruby-debug-ide.
> >
> > --Chris
> >
> > On 10/18/07, Martin Krauskopf <[EMAIL PROTECTED]> wrote:
> > > Chris Nelson wrote:
> > > > Cool, what did you have to change in jruby-debug? Or is already
> part of
> > > > your latest SVN commits? I'd love to try it out, and am downloading
> the
> > > > NB ruby build now.
> > >
> > > Yes, already committed. Were just simple unimplemented methods. Those
> > with:
> > >
> > > throw new UnsupportedOperationException("not
> > implemented yet");
> > >
> > > body. Still bunch of them there from 'skeleton-times'.
> > >
> > > m.
> > >
> > >
> > ---------------------------------------------------------------------
> > > To unsubscribe from this list please visit:
> > >
> > > http://xircles.codehaus.org/manage_email
> > >
> > >
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe from this list please visit:
>
> http://xircles.codehaus.org/manage_email
>
>