At Mon, 8 Jan 2001 14:11:43 +0900,
and.u <is.r / com.is-andy.com> wrote:
> 
> I debug ruby program with thread.
> When thread happen some mistake,
> It dies directly, without any warn info.
> How do I get more infomation

if you don't join the thread, it dies silently.

It'll abort if Thread.abort_on_exception == true

If $DEBUG, it aborts regardless of Thread.abort_on_exception

The switch `-d' for the ruby interpreter sets $DEBUG

(yup, I asked the same Q on -list ;p)
--
          yashi