I can't remember ever using it personally, but if you look through perldoc perldebug for "TTY" you can find how to tell perl to use a specific TTY device for debugger IO. I believe what you do is run something like xterm -e sh -c 'tty ; sleep 99999999' and then point the perl debugger at that pty device. Suffice to say you'd have to set this stuff up before the process is forked as I'm fairly sure that you can't do something akin to gdb's attaching to an already running process.
In reply to Re: debugging a running perl script
by Fletch
in thread debugging a running perl script
by gri6507
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |