Navindra Umanee wrote:

>>require 'breakpoint'
> 
> I can't seem to find this in: ruby 1.8.2 (2004-12-25) [i586-linux-gnu]
> 
> Is this an external package?

Yup, it's available as part of the Rails package, but I can also mail it 
to you privately.

>>Thread.new do
>>   loop do
>>     begin
>>       breakpoint
>>     rescue Exception
>>     end
>>   end
>>end
> 
> Do you think this would be expensive or does breakpoint simply block
> until it gets a connection?

It simply blocks so it ought to be reasonably cheap.