How can I attach a debugger to a running Perl process?

前端 未结 3 942
萌比男神i
萌比男神i 2021-02-06 22:53

I have a running Perl process that’s stuck, I’d like to poke inside with a debugger to see what’s wrong. I can’t restart the process. Can I attach the debugger to the running pr

3条回答
  •  说谎
    说谎 (楼主)
    2021-02-06 23:47

    http://metacpan.org/pod/App::Stacktrace “perl-stacktrace prints Perl stack traces of Perl threads for a given Perl process. For each Perl frame, the full file name and line number are printed.”

提交回复
热议问题