# RADRails and Ruby 1.8.4 RC1 for Windows debugger problem

**URL:** <https://rubytalk.org/t/radrails-and-ruby-1-8-4-rc1-for-windows-debugger-problem/26426>\
**Category:** ruby-talk\
**Created:** [4 April 2006 18:46 UTC](https://rubytalk.org/t/radrails-and-ruby-1-8-4-rc1-for-windows-debugger-problem/26426 "2006-04-04T18:46:33Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![john\_peter1](https://avatars.discourse-cdn.com/v4/letter/j/58956e/32.png) [@john\_peter1](https://rubytalk.org/u/john_peter1)\
**Post date:** [4 April 2006 18:46 UTC](https://rubytalk.org/t/radrails-and-ruby-1-8-4-rc1-for-windows-debugger-problem/26426/1 "2006-04-04T18:46:33Z")

</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)  
&nbsp;&nbsp;puts "arg = #{arg}"  
&nbsp;&nbsp;if block\_given?  
&nbsp;&nbsp;&nbsp;&nbsp;"block given to 'one' returns #{yield}"  
&nbsp;&nbsp;else  
&nbsp;&nbsp;&nbsp;&nbsp;arg  
&nbsp;&nbsp;end  
end

def two  
&nbsp;&nbsp;if block\_given?  
&nbsp;&nbsp;&nbsp;&nbsp;"block given to 'two' returns #{yield}"  
&nbsp;&nbsp;end  
end

result1 = one two {  
&nbsp;&nbsp;"three"  
}

result2 = one two do  
&nbsp;&nbsp;"three"  
end

puts "With braces, result = #{result1}"  
puts "With do/end, result = #{result2}"

> **···**
>
> ---------------------------------  
> How low will we go? Check out Yahoo! Messengers low PC-to-Phone call rates.

---

<div class="post-metadata">

**Author:** ![Ville\_Maanpaa](https://avatars.discourse-cdn.com/v4/letter/v/45deac/32.png) [@Ville\_Maanpaa](https://rubytalk.org/u/Ville_Maanpaa)\
**Post date:** [14 April 2006 20:27 UTC](https://rubytalk.org/t/radrails-and-ruby-1-8-4-rc1-for-windows-debugger-problem/26426/2 "2006-04-14T20:27:13Z")

</div>

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

> **···**
>
> --  
> Posted via [http://www.ruby-forum.com/](http://www.ruby-forum.com/).

---

<div class="post-metadata">

**Author:** ![Guest9](https://avatars.discourse-cdn.com/v4/letter/g/87869e/32.png) [@Guest9](https://rubytalk.org/u/Guest9)\
**Post date:** [26 April 2006 08:04 UTC](https://rubytalk.org/t/radrails-and-ruby-1-8-4-rc1-for-windows-debugger-problem/26426/3 "2006-04-26T08:04:19Z")

</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?
> 
> --  
> Posted via [http://www.ruby-forum.com/\](http://www.ruby-forum.com/%5C).
