Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re: How to attach a perl debugger to a running perl

by grep (Monsignor)
on Sep 21, 2006 at 14:54 UTC ( [id://574141]=note: print w/replies, xml ) Need Help??


in reply to How to attach a perl debugger to a running perl

I don't know of a way to start the debugger after the script is running.

Use perl -d scriptname.pl. You can can step through the script and then use x %sth to inspect the vars. You can also use V main to view all vars in the main package.

take a look at perlrun and perldebug



grep
Mynd you, mønk bites Kan be pretti nasti...

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others having a coffee break in the Monastery: (1)
As of 2024-04-25 00:39 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found