logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

Devel::StackTrace::AsHTML - Displays stack trace in HTML

Author

       Tatsuhiko Miyagawa <miyagawa@bulknews.net>

       Shawn M Moore

       HTML generation code is ripped off from CGI::ExceptionManager written by Tokuhiro Matsuno and Kazuho Oku.

Description

       Devel::StackTrace::AsHTML adds "as_html" method to Devel::StackTrace which displays the stack trace in
       beautiful HTML, with code snippet context and function parameters. If you call it on an instance of
       Devel::StackTrace::WithLexicals, you even get to see the lexical variables of each stack frame.

License

       This library is free software; you can redistribute it and/or modify it under the same terms as Perl
       itself.

Name

       Devel::StackTrace::AsHTML - Displays stack trace in HTML

See Also

       Devel::StackTrace Devel::StackTrace::WithLexicals CGI::ExceptionManager

perl v5.34.0                                       2022-06-13                     Devel::StackTrace::AsHTML(3pm)

Synopsis

         use Devel::StackTrace::AsHTML;

         my $trace = Devel::StackTrace->new;
         my $html  = $trace->as_html;

See Also