The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Devel::hdb::App::Stack - Get information about the program stack

DESCRIPTION

Routes

/stack

Get a list of the current program stack. Does not include any stack frames within the debugger. The currently executing frame is the first element in the list. Returns a JSON-encoded array where each item is a hash with the following keys: package Package/namespace subroutine Fully-qualified subroutine name. Includes the pacakge subname Subroutine name without the package included filename File where the subroutine was defined lineno Line execution is stopped on args Array of arguments to the subroutine

The top-level stack frame is reported as being in the subroutine named 'MAIN'.

Values in the args list are encoded using Devel::hdb::App::EncodePerlData.

SEE ALSO

Devel::hdb, Devel::hdb::App::EncodePerlData

AUTHOR

Anthony Brummett <brummett@cpan.org>

COPYRIGHT

Copyright 2013, Anthony Brummett. This module is free software. It may be used, redistributed and/or modified under the same terms as Perl itself.