Florian Gross <flgr / ccan.de> wrote:
> Yup, it's available as part of the Rails package, but I can also mail it 
> to you privately.

Thanks.  I installed gems and rails.  I see you're the author of
breakpoint.  It's just beautiful!

I have to admit I'm rather disappointed in gems though.  It seems
exceedingly ugly that you have to do:

require 'rubygems'
require_gem 'rails'

to use anything that is gem-installed.

Can't seem to get breakpoint_client working yet, my client hangs but
if I telnet to the drb port, the server seems to be active.  Without
"Breakpoint.activate_drb", it works as expected from standard
input/output.

require 'rubygems'
require_gem 'rails'
require 'breakpoint'

Breakpoint.activate_drb

Thread.new do
  loop do
     begin
       breakpoint
     rescue Exception
     end
  end
end

boo="boo"
while true
  p boo
  sleep 2
end

[vinata] [/tmp] telnet localhost 42531
Trying 127.0.0.1...
Connected to localhost (127.0.0.1).
Escape character is '^]'.
boo
Fo:DRb::DRbConnError:bt[?"//usr/lib/ruby/1.8/drb/drb.rb:570:in `load'"7/usr/lib/ruby/1.8/drb/drb.rb:600:in `recv_request'"7/usr/lib/ruby/1.8/drb/drb.rb:899:in `recv_request'"</usr/lib/ruby/1.8/drb/drb.rb:1453:in `init_with_client'"9/usr/lib/ruby/1.8/drb/drb.rb:1465:in `setup_message'"3/usr/lib/ruby/1.8/drb/drb.rb:1435:in `perform'"5/usr/lib/ruby/1.8/drb/drb.rb:1512:in `main_loop'"0/usr/lib/ruby/1.8/drb/drb.rb:1508:in `loop'"5/usr/lib/ruby/1.8/drb/drb.rb:1508:in `main_loop'"1/usr/lib/ruby/1.8/drb/drb.rb:1504:in `start'"5/usr/lib/ruby/1.8/drb/drb.rb:1504:in `main_loop'"//usr/lib/ruby/1.8/drb/drb.rb:1371:in `run'"1/usr/lib/ruby/1.8/drb/drb.rb:1368:in `start'"//usr/lib/ruby/1.8/drb/drb.rb:1368:in `run'"6/usr/lib/ruby/1.8/drb/drb.rb:1293:in `initialize'"//usr/lib/ruby/1.8/drb/drb.rb:1549:in `new'"9/usr/lib/ruby/1.8/drb/drb.rb:1549:in `start_service'"T/usr/lib/ruby/gems/1.8/gems/rails-0.9.5/lib/breakpoint.rb:371:in `activate_drb'"test.rb:5:    mesg" too large packet 1651470093Conn!
 ection closed by foreign host.
Exit 1
[vinata] [/tmp] ruby breakpoint_client.rb
No connection to breakpoint service at druby://localhost:42531 (Interrupt)
Tries to connect will be made every 3 seconds...
breakpoint_client.rb:189:in `sleep': Interrupt
        from breakpoint_client.rb:189
        from breakpoint_client.rb:147:in `loop'
        from breakpoint_client.rb:147
Exit 1

Thanks,
Navin.