CGI::Application::Plugin::DebugScreen3pm
Add debug support to cgi::application.
Usage
use CGI::Application::Plugin::DebugScreen;
That is it! The fun starts when a run mode calls "die".
Version
This documentation refers to CGI::Application::Plugin::DebugScreen version 1.00
Overview
This plug-in adds stack tracing support to CGI::Application similar in style to the Catalyst debug mode. In the event of the module calling "die", a stack trace of the error is displayed. At each level of the stack links to the code and documentation are provided.
The stack trace functionality is deactivated unless the $ENV{CGI_APP_DEBUG} environment variable is set. Therefore when your code is released, this plug-in does not need to be removed.
The links links to code and documentation are implemented using CGI::Application::Plugin::ViewCode, which will be loaded automatically if available. However these links are not supported in conjunction with CGI::Application::Dispatch.
Dependencies
strict
warnings
CGI::Application
HTML::Template
Devel::StackTrace
IO::File
CGI::Application::Plugin::ViewCode
UNIVERSAL::require
Bugs and limitations
There are no known bugs in this module. Please report problems to Atsushi Kobayashi (<[email protected]>) Patches are welcome.
Thanks To
MATSUNO Tokuhiro (MATSUNO)
Koichi Taniguchi (TANIGUCHI)
Masahiro Nagano (KAZEBURO)
Tomoyuki Misonou
Copyright and license
Copyright (C) 2006 by Atsushi Kobayashi (<[email protected]>). All rights reserved.
This library is free software; you can redistribute it and/or modify it
under the same terms as Perl itself. See perlartistic.
Releases
10 releases since Debian 4.0 (Etch); the text changed 6 times.