Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re: Debugger to Save Output

by chrestomanci (Priest)
on Jun 29, 2011 at 20:57 UTC ( [id://912036]=note: print w/replies, xml ) Need Help??


in reply to Debugger to Save Output

I think you are looking for the trace option in the perl debugger. Just start the debugger, type t and enter and then run your program. Every line of code that is executed will be printed to screen. It should no be to hard to send a copy of that output to a file.

However, can you tell us more about what you are looking to achieve, because if you are trying to profile your code, or create a call graph, there will be much better tools out there for the purpose.

Replies are listed 'Best First'.
Re^2: Debugger to Save Output
by Anonymous Monk on Jun 30, 2011 at 08:15 UTC

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others musing on the Monastery: (3)
As of 2024-04-19 17:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found