Exception::Backtrace::Stackframe - Stack Frame Information
The generic class for representing Perl and C/C++ stack frame. For perl-specific frame information access see Exception::Backtrace::PerlFrame.
The object of the class cannot be constructed directly. All properties are read only.
Stringifies frame. For perl frame it mimics Carp output, for C/C++ frame it mimics gdb output.
gdb
An IP (instruction ponter aka Program Counter) of the stack frame.
As it has sense only for C/C++ frame, for Perl frame it is zero.
The difference between frame address and the base shared object (.so) address.
For Perl frame it is the package name, for C/C++ frame it is the path of the loaded share object (.so)
The name of the function of a stack frame. As for C/C++ it might be impossible to determine (i.e. as there are no debug info), it might be empty string.
The source file of a stack frame. As for C/C++ it might be impossible to determine (i.e. as there are no debug info), it might be empty string.
The line of the source file of a stack frame. As for C/C++ it might be impossible to determine (i.e. as there are no debug info), it might be empty string.
Exception::Backtrace
Exception::Backtrace::PerlFrame
To install Exception::Backtrace, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Exception::Backtrace
CPAN shell
perl -MCPAN -e shell install Exception::Backtrace
For more information on module installation, please visit the detailed CPAN module installation guide.