Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re: "omniscient debugging" for Perl

by dave_the_m (Monsignor)
on Jul 05, 2005 at 20:20 UTC ( [id://472591]=note: print w/replies, xml ) Need Help??


in reply to "omniscient debugging" for Perl

A perl build with -DDEBUGGING can show much information during execution, for example each op being executed, and the contents of the stack after each op:
$ perl587 -Dst -e'$a = "abc"; $a .= 1' EXECUTING... => (-e:0) enter => (-e:0) nextstate => (-e:1) const(PV("abc"\0)) => PV("abc"\0) (-e:1) gvsv(main::a) => PV("abc"\0) UNDEF (-e:1) sassign => PV("abc"\0) (-e:1) nextstate => (-e:1) gvsv(main::a) => PV("abc"\0) (-e:1) const(IV(1)) => PV("abc"\0) IV(1) (-e:1) concat => PV("abc1"\0) (-e:1) leave

Dave.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others wandering the Monastery: (2)
As of 2024-05-25 19:56 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found