From: Simon Strandgaard Date: 2004-04-01T12:14:24+09:00 Subject: Re: Exception#set_backtrace doesn't have any effect On Thu, 01 Apr 2004 04:59:47 +0200, Simon Strandgaard wrote: > On Thu, 01 Apr 2004 11:55:27 +0900, Yukihiro Matsumoto wrote: >> In message "Exception#set_backtrace doesn't have any effect" >> on 04/04/01, Simon Strandgaard writes: >> >> |I want to attach debug information to some of my exceptions, however I >> |have problems transfering the backtrace array from the original to the new >> |exception. It seems as #set_backtrace doesn't have any effect? >> |What am I doing wrong? >> | >> |Any suggestions how to do such thing? >> >> It's a bug fixed in the latest CVS. >> >> matz. > > Thanks.. I better use cvs-head ;-) Installation via cvs went fine.. no problems. Just a minor nitpick, maybe move the 'ri document generation' from 'install' target to 'all' target? Anyway, now #set_backtrace is working ;-) server> ruby a.rb a:0:A: we got nuked (TolerantError) from b:1:B from c:2:C server> ruby -v ruby 1.9.0 (2004-03-31) [i386-freebsd5.1] server> -- Simon Strandgaard