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

Re: How do I trap a crash?

Thread Previous | Thread Next
From:
Elizabeth Mattijsen
Date:
January 11, 2019 18:56
Subject:
Re: How do I trap a crash?
Message ID:
8ADC38AA-248D-453D-9876-BC050CBD4780@dijkmat.nl
Perhaps https://docs.perl6.org/language/exceptions#Catching_exceptions could be enlightening?

> On 11 Jan 2019, at 18:54, ToddAndMargo via perl6-users <perl6-users@perl.org> wrote:
> 
> 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 Previous | 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