At 09:37 AM 6/22/02 -0700, drieux wrote:
>>Sometimes I'd like to run a perl program in a similar way as one can
>>run a shell script with the -x switch.  Where all commands and
>>actions are printed to tty as the occur.
>
>that is in essence the Shell Debugger.
>
>Which really is not a 'realDebugger[tm]' because it really
>does not allow you to step your way through the code - and all
>the other wonderful things we love to do with realDebuggers[tm]'.

Eh?  The n and s commands do exactly that.  See also the r command.

Sounded like the original poster wanted tracing.  The t command in the 
debugger does that.

Tracing isn't generally as useful for a Perl script as for a shell 
script because a shell script typically executes far fewer statements 
than the average Perl script.  So the output can be unreasonably verbose.
--
Peter Scott
Pacific Systems Design Technologies
http://www.perldebugged.com/


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to