From: Eric Mahurin Date: 2005-10-06T05:09:13+09:00 Subject: Re: entire stack trace --- Pit Capitain wrote: > Eric Mahurin schrieb: > > When the stack is deep and you get an exception, you get > > something like this in the middle of the stack trace: > > > > ... 20 levels ... > > > > Is there any way to get the entire trace? > > Catch the exception and print its backtrace > > begin > call_deeply_nested_method > rescue Exception => ex > puts ex, ex.backtrace > end I already figured out that one. Any way to override the default behavior? Unfortunately, a simple rescue doesn't catch interrupt (and other signals). I guess I could set up a signal handler to catch it. It would be a whole lot easier if I could just redefine the default print stacktrace method. __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com