From: Ralph Shnelvar Date: 2010-09-22T21:42:56+09:00 Subject: Re: stop and display traceback when thread throws an exception ------------EC577A36A4601C Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 8bit Quintus, Wednesday, September 22, 2010, 1:48:58 AM, you wrote: Q> -----BEGIN PGP SIGNED MESSAGE----- Q> Hash: SHA1 Q> Am 22.09.2010 04:24, schrieb Ralph Shnelvar: >> Is there a way to stop all threads and display traceback when any thread (especially a thread that is not the main thread) throws an exception? Q> You can either run ruby with the -d (or --debug) switch or call this Q> somewhere in your code: Q> Thread.abort_on_exception = true Q> Vale, Q> Quintus That was exactly what I was looking for. Thank you! ------------EC577A36A4601C--