in reply to Re^2: Debugging DESTROY calls in forking application
in thread Debugging DESTROY calls in forking application

Well that's solution for your underlying problem, but not the OP. ;)

The interested reader might want to know that Perl has also tracers in the Devel namespace.

perlrun

Cheers Rolf
(addicted to the Perl Programming Language :)
Wikisyntax for the Monastery

Replies are listed 'Best First'.
Re^4: Debugging DESTROY calls in forking application
by cavac (Prior) on Mar 10, 2020 at 14:42 UTC

    I tried it with -d:Trace, but all the extra stuff happening made timeouts happen which screwed up my tests.

    But i agree, in many cases all that build in debugging/profiling/tracing functionality is a good way to find problems.

    perl -e 'use Crypt::Digest::SHA256 qw[sha256_hex]; print substr(sha256_hex("the Answer To Life, The Universe And Everything"), 6, 2), "\n";'