Allow me to demonstrate what I'd like to do in terms of compiled C programs. First off, my environment is a Sun Solaris 8 box with Sun Workshop installed. Thus, my compiler is cc (used with the -g option). When compiled like this, I can use the workshop debugger to step through programs, evaluate variables, etc. Moreover, I can use workshop to attach to a running process (say, one that's in an infinite loop, or one that's hung) and see where in the code this running process is currently at and proceed with the standard debugging steps.
I'd like to be able to do the same with perl. In particular, I have a Tk GUI with a forked process (in effect a while(1) loop with brains). I'd like to attach a debugger to this forked process to see where it is during a particular time of execution, to see values of variables, etc. Is there any such tool? Free tools are, of course, prefered.
Thanks in advance.
In reply to debugging a running perl script by gri6507
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |