Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Show line-by-line execution

Status
Not open for further replies.

CJason

Programmer
Joined
Oct 13, 2004
Messages
223
Location
US
Is it possible to see all the executed lines within a perl script during a run? I want to be able to review the path followed during execution. In otherwords, after the run is complete, I want to look back at the path that was followed. Is this possible?

Thanks in advance!
 
What comes closest to what you are asking, I think, is debugging. Have you tried a debugger yet (like perl -d, or you can do it in Emacs or something)?!?

Or do you you mean something radically different?
 
I'm looking for something that outputs the TRACE of what happened...not using the debugger. So, when you run the program, I want the path being followed to be output to the screen.

For example, in VMS (If anyone remembers that!?!?!?), you can 'SET VERIFY' and it outputs exactly what is happening through the DCL command procedure. Anything like that for perl???
 
I have to admit that I don't know. Yet, I wouldn't be surprised if GNU's Data Display Debugger could be of some avail.
Never tried it myself though...
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top