[Rails] Re: breakpoint not working
Robert Williams
booshank at gmail.com
Wed Feb 2 20:46:24 GMT 2005
Exception `TypeError' at /usr/local/lib/ruby/1.8/drb/drb.rb:545 - no
marshal_dump is defined for class Method
Exception `TypeError' at /usr/local/lib/ruby/1.8/drb/drb.rb:545 - no
marshal_dump is defined for class Method
Exception `TypeError' at /usr/local/lib/ruby/1.8/drb/drb.rb:545 - no
marshal_dump is defined for class Method
Connection established. Waiting for breakpoint...
So i get connection refused until a breakpoint is reached then it
seems to be ok with whats above.
I'm getting exactly the same problem with my windows box. Could this
be related to the network i have them both on? seems a little strange
though!
On Wed, 02 Feb 2005 18:48:07 +0100, Florian Groß <florgro at gmail.com> wrote:
> Robert Williams wrote:
>
> > Tried that, no luck i'm afraid!
> >
> > The connection is refused until i refresh the browser and the
> > breakpoint is activated, then the server automatically exits. I'm
> > getting 'address already in use' alot; i guess that's because the
> > client is exiting prematurely?
> >
> > What is this TypeError?
>
> Are you hitting the cancel button in your browser? It's fine for it to
> keep displaying loading state hints as long as you're working on a
> breakpoint.
>
> Those TypeErrors are handled exceptions inside DRb. It first tries
> serializing the methods objects to get a copy through the network and
> then falls back to pass by reference.
>
> The connection refused stuff might actually be related to the ACL. I'm
> not sure why you're not getting identified as localhost, but this might
> be the problem.
>
> Can you please try placing a Breakpoint.deactivate_drb;
> Breakpoint.activate_drb(nil, nil) in your application to disable the
> ACLs completely?
>
> _______________________________________________
> Rails mailing list
> Rails at lists.rubyonrails.org
> http://lists.rubyonrails.org/mailman/listinfo/rails
>
More information about the Rails
mailing list