Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris

Re: Viewing perl execution line by line - debug flags

by imp (Priest)
on Dec 08, 2006 at 02:11 UTC ( #588521=note: print w/replies, xml ) Need Help??

in reply to Viewing perl execution line by line

PERLDB_OPTS="NonStop AutoTrace LineInfo=foo.trace" perl -d
Contents of
print "foo\n"; print "bar\n";
Content of foo.trace:
main::( print "foo\n"; main::( print "bar\n"; Config::DESTROY(/usr/libdata/perl5/i386-openbsd/5.8.2/ 1265: sub DESTROY { } IO::Handle::DESTROY(/usr/libdata/perl5/i386-openbsd/5.8.2/IO/ +:326): 326: sub DESTROY {}
See perldebug for more options.

Replies are listed 'Best First'.
Re^2: Viewing perl execution line by line
by jesuashok (Curate) on Dec 08, 2006 at 02:23 UTC
    thanks imp,

    PERLDB_OPTS="NonStop AutoTrace LineInfo=foo.trace" helped me. thanks again.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://588521]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (4)
As of 2017-02-20 10:02 GMT
Find Nodes?
    Voting Booth?
    Before electricity was invented, what was the Electric Eel called?

    Results (295 votes). Check out past polls.