Reverse Stack Traces

Ovid on 2007-06-29T15:07:32

You know, I really need to write a module which will print out stack traces in reverse. When I get a long trace, sometimes it's annoying to read everything backwards, but I find reading them from the bottom up gets annoying, too. Can't find anything on the CPAN, though.

Mood: grumpy.


Sensible

Matts on 2007-06-29T16:05:53

It depends on the environment a bit - in a GUI environment a "forward" view of the stack trace makes some sense, but in a console the information you most want is at the other end of the stack trace.

What's wrong with...

jk2addict on 2007-06-29T16:38:08

reverse Devel::StackTrace->new->frames;