From: Alexey Verkhovsky Date: 2008-02-15T05:56:57+09:00 Subject: Re: ruby wish-list On Mon, Oct 15, 2007 at 7:23 AM, Roger Pack wrote: > 2) a GC that is 'user-definable' (run after this definable threshold, > this often), and (asidedbly), a GC that can run in its own (native) > thread so it doesn't pause execution of normal threads. Is available in JRuby :) > 4) the optional ability to have it display the whole backtrace on > uncaught exceptions (and also for all existing threads). Not sure if anyone has mentioned that already, but this is simply a matter of either changing TRACE_HEAD and TRACE_TAIL #defines, and recompiling Ruby, or wrapping your "main" in something like begin ... rescue Object => e puts e.message print ' ' puts e.backtrace.join("\n ") exit -1 end -- Alexey Verkhovsky CruiseControl.rb [http://cruisecontrolrb.thoughtworks.com] RubyWorks [http://rubyworks.thoughtworks.com]