FreeRIDE - Debug mode hangs

B

billbell52

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?
 
S

Servando Garcia

billbell52 said:
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?

I have the same problem. I did exactly the same thing you did.
 
B

billbell52

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

drb works on one system fails on other 2
dchat 0
error message help 1
freeride bails out! 0
DRbFire testing fails 2
drb load limit 3
DRb and exceptions 2
trying to get drb to work ... 0

Members online

No members online now.

Forum statistics

Threads
473,770
Messages
2,569,583
Members
45,074
Latest member
StanleyFra

Latest Threads

Top