From: nobu.nokada@... Date: 2003-07-25T18:50:32+09:00 Subject: Re: Add debug to help info Hi, At Fri, 25 Jul 2003 18:38:13 +0900, Tim Kynerd wrote: > I would also be interested to know what the $DEBUG flag does. It changes two behaviors. Reports exceptions at raised. $ ruby -e 'raise rescue p $!' RuntimeError $ ruby -d -e 'raise rescue p $!' Exception `RuntimeError' at -e:1 - RuntimeError Exits main thread when any thread aborted by exceptions. $ ruby -e 'Thread.new{raise};sleep 1' $ ruby -d -e 'Thread.new{raise};sleep 1' Exception `RuntimeError' at -e:1 - -e:1: unhandled exception from -e:1:in `initialize' from -e:1:in `new' from -e:1 -- Nobu Nakada