in reply to Hard to Debug windows memory error

Can you use $SIG{__DIE__} to add diagnostic code? At least to identify where the program is failing.

But God demonstrates His own love toward us, in that while we were yet sinners, Christ died for us. Romans 5:8 (NASB)

Replies are listed 'Best First'.
Re^2: Hard to Debug windows memory error
by jandrew (Chaplain) on Dec 31, 2015 at 20:01 UTC

    I should have mentioned that I tried that too and the script errors out before the $SIG{__DIE__} handler can print.

    Update: Windows opens a popup prior to the final error saying  Perl interpreter stopped working

    The actual error message comes up in a pop-up window not as part of the script.