[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

FreeRIDE - Debug mode hangs

billbell52

3/6/2006 8:07:00 PM

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?

2 Answers

Servando Garcia

3/6/2006 9:33:00 PM

0




billbell52 wrote:
> 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.


billbell52

3/8/2006 5:26:00 PM

0

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.