Hugh Sasse <hgs / dmu.ac.uk> writes:

> 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.

Maybe always show a full backtrace with -d or -w given?

>         Hugh
-- 
Christian Neukirchen  <chneukirchen / gmail.com>  http://chneukirchen.org