From: Hugh Sasse Date: 2005-11-05T08:13:17+09:00 Subject: Re: Stack trace consumes information. patch... On Sat, 5 Nov 2005, Eric Hodel wrote: > On Nov 4, 2005, at 11:45 AM, Hugh Sasse wrote: > > > In those missing 9 levels is the information I need about where my > > call to the library was. I.e. that would tell me which table I was > > accessing at the time. > > Or you could just rescue the exception and print out the backtrace. > > begin > generate_big_stacktrace_and_raise > rescue > puts $!.backtrace.join("\n") > end I'd missed that, thanks. But I'd still like more of it in the default case: 5 levels down from the outside isn't very deep to start trimming. Hugh