# RADRails and Ruby 1.8.4 RC1 for Windows debugger problem

**URL:** <https://www.ruby-forum.com/t/radrails-and-ruby-1-8-4-rc1-for-windows-debugger-problem/93570>\
**Category:** Ruby\
**Created:** [April 4, 2006, 8:49pm UTC](https://www.ruby-forum.com/t/radrails-and-ruby-1-8-4-rc1-for-windows-debugger-problem/93570 "2006-04-04T20:49:15Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![john\_peter](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/94ad74/32.png) [@john\_peter](https://www.ruby-forum.com/u/john_peter)\
**Post date:** [April 4, 2006, 8:49pm UTC](https://www.ruby-forum.com/t/radrails-and-ruby-1-8-4-rc1-for-windows-debugger-problem/93570/1 "2006-04-04T20:49:15Z")

</div>

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}”

---

<div class="post-metadata">

**Author:** ![john\_peter](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/94ad74/32.png) [@john\_peter](https://www.ruby-forum.com/u/john_peter)\
**Post date:** [April 14, 2006, 10:27pm UTC](https://www.ruby-forum.com/t/radrails-and-ruby-1-8-4-rc1-for-windows-debugger-problem/93570/2 "2006-04-14T22:27:04Z")

</div>

I get same error in eclipse 3.1 and RDT, doesn’t matter what the ruby  
code is, ideas?

---

<div class="post-metadata">

**Author:** ![john\_peter](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/94ad74/32.png) [@john\_peter](https://www.ruby-forum.com/u/john_peter)\
**Post date:** [April 26, 2006, 10:04am UTC](https://www.ruby-forum.com/t/radrails-and-ruby-1-8-4-rc1-for-windows-debugger-problem/93570/3 "2006-04-26T10:04:06Z")

</div>

try rolling back to ruby 1.8.2

[http://rubyeclipse.mktec.com/cgi-bin/trac.py/ticket/81](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?
