Define watch variables and debug non-interactively 
Author Message
 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.



Sun, 16 May 2004 12:12:10 GMT  
 
 [ 1 post ] 

 Relevant Pages 

1. is there a variable defined in debug mode

2. Shortcut for non-defined variables

3. watching 'my' in debug mode

4. debugging - is there a watch expression?

5. changing password with passwd non-interactively

6. Using perl to ftp non interactively

7. Posting Form Non-Interactively

8. PERLFUNC: defined - test whether a value, variable, or function is defined

9. PERLFUNC: defined - test whether a value, variable, or function is defined

10. Using a variable to define a variable?

11. watching variables while debuging.

12. Test on non existent HoH value defines it

 

 
Powered by phpBB® Forum Software