Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re: Perl Debugger capturing output from the 'x' command while in a debug session

by quester (Vicar)
on Apr 16, 2009 at 22:33 UTC ( #758089=note: print w/ replies, xml ) Need Help??


in reply to Perl Debugger capturing output from the 'x' command while in a debug session

I'm not in a place where I can test this, but try:
script -c 'perl -d myscript.pl' logfile.txt
It will log the whole debugging session.
  • Comment on Re: Perl Debugger capturing output from the 'x' command while in a debug session
  • Download Code

Replies are listed 'Best First'.
Re^2: Perl Debugger capturing output from the 'x' command while in a debug session
by x5150 (Acolyte) on Apr 16, 2009 at 23:06 UTC
    Yes, this works! Thanks. It would still be interesting to see if you could capture just that single 'x' command output only.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://758089]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (5)
As of 2016-08-27 09:42 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    The best thing I ever won in a lottery was:















    Results (379 votes). Check out past polls.