[Rails] Re: breakpoint not working

Florian Groß florgro at gmail.com
Mon Jan 31 13:49:36 GMT 2005


Robert Williams wrote:

> Getting a connection but receiving this:
> 
> [#<Method: Module(Handlers)#eval_handler>, false]
> [#<Method: Module(Handlers)#collision_handler>, false]
> [#<Method: Module(Handlers)#breakpoint_handler>, false]
> 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
> 
> Oh and your changes don't make a difference to the exceptions! :)

So even running it via

> ruby -r breakpoint -e "Breakpoint.activate_drb('druby://:42531', nil); breakpoint" 

did not change anything? I think the two problems (not getting the 
connection at all like in your case and the handlers being executed in a 
too restrict context because they are tainted) are not related closely.

Sorry if I caused confusion.

Oh, and did breakpoints ever work for you before? Perhaps you could try 
changing the port to something else.

Thanks.



More information about the Rails mailing list