Tk::Zinc::TraceErrors - A module to trace all Tk::Zinc method calls which generate an error
use Tk::Zinc::TraceErrors;
or
perl -MTk::Zinc::TraceErrors YourZincBasedScript.pl
When loaded, this module overloads a Tk mechanism so that every Tk::Zinc method call will be traced if it provokes an error. The execution will then continue.
This module can be very effective for debugging and application, specially when Tk gives an unusuable error message such as ".... errors in Tk.pm line 228"
the source filename where the method has been invoked
the line number in the source file
the TkZinc method name
the list of arguments in a human-readable form
the error message
D.Etienne <etienne@cena.fr> and C.Mertz <mertz@cena.fr>
This module cannot be used when Tk::Zinc::Trace is already in use.
See Tk::Zinc copyright; BSD
Tk::Zinc(3pm), Tk::Zinc::Trace(3pm). Tk::Zinc::Debug(3pm).
To install Tk::Zinc, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Tk::Zinc
CPAN shell
perl -MCPAN -e shell install Tk::Zinc
For more information on module installation, please visit the detailed CPAN module installation guide.