Forum: Ruby RADRails and Ruby 1.8.4 RC1 for Windows debugger problem

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.
Acd8aa879da8c19cf623dc6269eafb87?d=identicon&s=25 john peter (Guest)
on 2006-04-04 20:49
(Received via mailing list)
i'm using RADRails 0.61 on Windows XP for both Rails and plain Ruby
coding.
In my first plain ruby code debugging session, i encountered the
following problem:

ruby 1.8.4 debugger listens on port 2385

This application has requested the Runtime to terminate it in an unusual
way.
Please contact the application's support team for more information.

the code i was trying to practice debugging on is shown below.

def one(arg)
  puts "arg = #{arg}"
  if block_given?
    "block given to 'one' returns #{yield}"
  else
    arg
  end
end

def two
  if block_given?
    "block given to 'two' returns #{yield}"
  end
end

result1 = one two {
  "three"
}

result2 = one two do
  "three"
end

puts "With braces, result = #{result1}"
puts "With do/end, result = #{result2}"
8e5722a3dec04897507bcf30395cf445?d=identicon&s=25 Ville Maanpaa (Guest)
on 2006-04-14 22:27
I get same error in eclipse 3.1 and RDT, doesn't matter what the ruby
code is, ideas?
1071da5f9a4850288c77b1876862ade4?d=identicon&s=25 Guest (Guest)
on 2006-04-26 10:04
try rolling back to ruby 1.8.2

http://rubyeclipse.mktec.com/cgi-bin/trac.py/ticket/81

Ville Maanpaa wrote:
> I get same error in eclipse 3.1 and RDT, doesn't matter what the ruby
> code is, ideas?
This topic is locked and can not be replied to.