Peter,

The problem, it turns out, is not with stepping into it's with stepping
over.  When trying to step over the Car.find line the debugger ends up going
into dependencies.rb, when it should go to the next line into the
controller.  It works correctly in MRI, and I'm (now) at Rails 1.2.5 in
both.

On 10/22/07, Chris Nelson <[EMAIL PROTECTED]> wrote:
>
> Hmm... ok, I think I must have seen a change from Rails 1.2.5 here and
> gotten confused.  In MRI it was stepping into ActiveRecord, but that was
> because it was Rails 1.2.3.  Looks like it's working.  Awesome!
>
> --Chris
>
> On 10/22/07, Peter Brant <[EMAIL PROTECTED]> wrote:
> >
> > Looks like that's actually the right thing to do.  rdebug with MRI
> > does the same thing.  It's heading off into the Rails' implementation
> > of Class#const_missing looking for Car.
> >
> > JRuby rdebug log attached.
> >
> > Pete
> >
> > On 10/23/07, Chris Nelson <[EMAIL PROTECTED]> wrote:
> > > 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
> > >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe from this list please visit:
> >
> >     http://xircles.codehaus.org/manage_email
> >
> >
>

Reply via email to