develooper Front page | perl.perl6.users | Postings from January 2019

How do I trap a crash?

Thread Next
From:
ToddAndMargo via perl6-users
Date:
January 11, 2019 18:09
Subject:
How do I trap a crash?
Message ID:
b516ef57-c041-6ce3-1891-51f5b8a163d6@zoho.com
Hi All,

I would like to do a Send Notify when a program of mine
crashes.

How do I trap a crash?

Is there a way to see some of the local variables in the
sub that crashes with the trap?


Many thanks,
-T


-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Computers are like air conditioners.
They malfunction when you open windows
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About