Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery

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]
[stevieb]: I don't even own a Windows computer. Both my girl and I have a laptop each with Linux. I'm supporting Windows in some of my projects and I can't even guage whether it's worth it or not.
[stevieb]: shmem It's something I desired to have years ago, which is why I took over berrybrew. Cross-platform build/test automation locally, or over the network Test::BrewBuild
[shmem]: sounds good.
[shmem]: but I'm crumbling smaller stones. remember...
[stevieb]: I'm working on it to fatten it up and make it more reliant so I can finalize my Raspberry Pi automated build system for that software :) It's all well and fun, until I try to make it work with Windows lol
[shmem]: "debugging a program is more difficult than to write it in the first place. If you code your program as smart as you are, you are, by definition, too dumb to debug it."

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (4)
As of 2017-03-28 22:10 GMT
Find Nodes?
    Voting Booth?
    Should Pluto Get Its Planethood Back?

    Results (342 votes). Check out past polls.