Tk::Zinc::TraceErrors - A module to trace all Tk::Zinc method calls which generate an error
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 <email@example.com> and C.Mertz <firstname.lastname@example.org>
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.
perl -MCPAN -e shell
For more information on module installation, please visit the detailed CPAN module installation guide.