An object representing a stack trace
http://search.cpan.org/dist/Devel-StackTrace
The Devel::StackTrace module contains two classes, Devel::StackTrace and
Devel::StackTrace::Frame. The goal of this object is to encapsulate the
information that can found through using the caller() function, as well as
providing a simple interface to this data.
The Devel::StackTrace object contains a set of Devel::StackTrace::Frame
objects, one for each level of the stack. The frames contain all the data
available from 'caller()'.
This code was created to support my the Exception::Class::Base manpage
class (part of Exception::Class) but may be useful in other contexts.
- Developed at devel:languages:perl
-
4
derived packages
- Download package
-
Checkout Package
osc -A https://api.opensuse.org checkout openSUSE:Factory/perl-Devel-StackTrace && cd $_
- Create Badge
Refresh
Refresh
Source Files
Filename | Size | Changed |
---|---|---|
Devel-StackTrace-1.27_Test_More.patch | 0000002903 2.83 KB | |
Devel-StackTrace-1.30.tar.gz | 0000018518 18.1 KB | |
perl-Devel-StackTrace.changes | 0000003818 3.73 KB | |
perl-Devel-StackTrace.spec | 0000002388 2.33 KB |
Revision 11 (latest revision is 22)
Stephan Kulow (coolo)
accepted
request 177412
from
Stephan Kulow (coolo)
(revision 11)
- updated to 1.30 - There was an eval which did not first localize $@ and $SIG{__DIE__}. This broke Plack::Middleware::StackTrace (and possibly other tihngs). - The Devel::StackTrace->frames() method is now read-write. This allows you to do more complex filtering of frames than is easily possible with the frame_filter argument to the constructor. Patch by David Cantrell. - Allow arguments to a trace's as_string method, specifically max_arg_length Patch by Ricardo Signes. - Added a no_args option to the constructor in 1.26 but forgot to mention it in Changes. Requested by Scott J. Miller. RT #71482. (forwarded request 177355 from coolo)
Comments 0