Devel::StackTrace + PadWalker. WWW: https://metacpan.org/release/Devel-StackTrace-WithLexicals