Forum: Ruby FreeRIDE - Debug mode hangs

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
5ff5c005dfad95bc14ed2f16e84658e2?d=identicon&s=25 billbell52 (Guest)
on 2006-03-06 21:09
(Received via mailing list)
I am just getting started with RUBY.  I downloaded the latest release
(ruby184-16p3.exe) for windows.  I created a simple hello world
program.  It ran it in run mode.

def say_goodnight(name)
  result = "Good night, #{name}"
  return result
end

puts say_goodnight('Pa')

It ran fine.  I tried to run it in debug mode and it hangs.  When I
kill the task it give me the following info.

c:/ruby/lib/ruby/1.8/drb/drb.rb:563:in `read': Invalid argument
(DRb::DRbConnErr
or)
        from c:/ruby/lib/ruby/1.8/drb/drb.rb:563:in `load'
        from c:/ruby/lib/ruby/1.8/drb/drb.rb:629:in `recv_reply'
        from c:/ruby/lib/ruby/1.8/drb/drb.rb:918:in `recv_reply'
        from c:/ruby/lib/ruby/1.8/drb/drb.rb:1192:in `send_message'
        from c:/ruby/lib/ruby/1.8/drb/drb.rb:1083:in `method_missing'
        from c:/ruby/lib/ruby/1.8/drb/drb.rb:1167:in `open'
        from c:/ruby/lib/ruby/1.8/drb/drb.rb:1082:in `method_missing'
        from c:/ruby/lib/ruby/1.8/drb/drb.rb:1100:in `with_friend'
        from c:/ruby/lib/ruby/1.8/drb/drb.rb:1081:in `method_missing'
        from
c:/ruby/freeride/plugins/rubyide_tools_debugger/debuggee.rb:1266:in
 `printf'
        from
c:/ruby/freeride/plugins/rubyide_tools_debugger/debuggee.rb:1416

I looked at the code and I don't see what is causing this.  I disabled
the firewall.

Any ideas?
9c7e3e773ac08cb6e7ae2f4f7eeadaa6?d=identicon&s=25 Servando Garcia (Guest)
on 2006-03-06 22:35
(Received via mailing list)
billbell52 wrote:
>
>         from c:/ruby/lib/ruby/1.8/drb/drb.rb:1083:in `method_missing'
> I looked at the code and I don't see what is causing this.  I disabled
> the firewall.
>
> Any ideas?
>
>
>
>

I have the same problem. I did exactly the same thing you did.
5ff5c005dfad95bc14ed2f16e84658e2?d=identicon&s=25 billbell52 (Guest)
on 2006-03-08 18:31
(Received via mailing list)
I pulled down the separate version of FreeRIDE and used it and no
problem.  It just seems to be a problem with the version that comes
with the Ruby Windows install.
This topic is locked and can not be replied to.