in reply to Equivalent of a core-dump to restart perl script in debugger

> It would probably be fine to dump all variables/hashes/arrays in memory to a file, but as we have lots of modules, and many of them have local (my) variables, I am not aware of any mechanism to achieve that either.

I'm not aware of general solution, did you already check CPAN and the debugger-docs? (I didn't yet)

Anyway using Data::Dumper on the package STASHs should help logging global vars. Regarding lexical vars PadWalker can certainly help to inspect them.

Cheers Rolf

  • Comment on Re: Equivalent of a core-dump to restart perl script in debugger