
Define watch variables and debug non-interactively
Hi there,
I would like to be able to define some watch variables and then trace
script execution to a log file, preferably non-interactively ie define
the watch variables somehow and use something like
PERLDB_OPTS="N A L=db.out" perl -d myscript.pl
The intention is that the db.out file will contain the trace execution
of the script, and an indication of when the watch variables change,
and to which value.
I tried manually entering the watch variables from within the the
de{*filter*}, then doing an "O option=" to get the trace and non-stop. The
db.out file was created, with the trace execution BUT NO WATCH
VARIABLES.
Any help greatly appreciated.
Michael.