in reply to Debugging forking perl script? GDB?

Crazy idea here: if you know that requests should complete in less than so-much time, could you somehow use a timer interrupt to cause the process to abort and dump itself?
  • Comment on Re: Debugging forking perl script? GDB?

Replies are listed 'Best First'.
Re^2: Debugging forking perl script? GDB?
by cavac (Prior) on Nov 21, 2019 at 09:56 UTC

    That would have been an option before websockets. These days a web connection could last a really long time.

    perl -e 'use MIME::Base64; print decode_base64("4pmsIE5ldmVyIGdvbm5hIGdpdmUgeW91IHVwCiAgTmV2ZXIgZ29ubmEgbGV0IHlvdSBkb3duLi4uIOKZqwo=");'