Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
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 contemplating the Monastery: (6)
As of 2016-04-29 23:45 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    :nehw tseb si esrever ni gnitirW







    Results (441 votes). Check out past polls.