Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

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 foo.pl
Contents of foo.pl:
print "foo\n"; print "bar\n";
Content of foo.trace:
main::(foo.pl:1): print "foo\n"; main::(foo.pl:2): print "bar\n"; Config::DESTROY(/usr/libdata/perl5/i386-openbsd/5.8.2/Config.pm:1265): 1265: sub DESTROY { } IO::Handle::DESTROY(/usr/libdata/perl5/i386-openbsd/5.8.2/IO/Handle.pm +: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?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://588521]
help
Chatterbox?
[marto]: failing that see the README
[mark4]: I installed "PAR" from the ppm install window. pp.exe. did not show up.
[marto]: it should just be a script, pp, or on windows pp.bat, post install you should just be able to call pp -x packed.exe source.pl as the PPM package should put everything required into the appropriate path
[marto]: ah, some time ago pp became it's own package, try searching your repo for PAR::Packer
[marto]: again, Strawberry + cpanm for the win: cpanm pp to install

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (9)
As of 2018-01-19 14:19 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    How did you see in the new year?










    Results (218 votes). Check out past polls.

    Notices?