Tk::Zinc::TraceErrors - A module to trace all Tk::Zinc method calls which generate an error


tk-zinc documentation  | view source Contained in the tk-zinc distribution.

Index


NAME

Top

Tk::Zinc::TraceErrors - A module to trace all Tk::Zinc method calls which generate an error

SYNOPSIS

Top

use Tk::Zinc::TraceErrors;

or

perl -MTk::Zinc::TraceErrors YourZincBasedScript.pl

DESCRIPTION

Top

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

AUTHOR

Top

D.Etienne <etienne@cena.fr> and C.Mertz <mertz@cena.fr>

CAVEAT

Top

This module cannot be used when Tk::Zinc::Trace is already in use.

COPYRIGHT

Top

SEE ALSO

Top

Tk::Zinc(3pm), Tk::Zinc::Trace(3pm). Tk::Zinc::Debug(3pm).


tk-zinc documentation  | view source Contained in the tk-zinc distribution.