From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM autolearn=unavailable autolearn_force=no version=3.4.4 X-Received: by 2002:aed:29a2:: with SMTP id o31mr6453892qtd.279.1580411455993; Thu, 30 Jan 2020 11:10:55 -0800 (PST) X-Received: by 2002:a9d:12a8:: with SMTP id g37mr4815501otg.261.1580411455732; Thu, 30 Jan 2020 11:10:55 -0800 (PST) Path: eternal-september.org!reader01.eternal-september.org!feeder.eternal-september.org!news.gegeweb.eu!gegeweb.org!usenet-fr.net!proxad.net!feeder1-2.proxad.net!209.85.160.216.MISMATCH!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Thu, 30 Jan 2020 11:10:55 -0800 (PST) In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: google-groups.googlegroups.com; posting-host=2a02:c7d:3c35:b000:1176:f822:d46e:c9b4; posting-account=L2-UcQkAAAAfd_BqbeNHs3XeM0jTXloS NNTP-Posting-Host: 2a02:c7d:3c35:b000:1176:f822:d46e:c9b4 References: User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <96fd347f-759f-4713-8d93-d2f4dbe74eb7@googlegroups.com> Subject: Re: Last chance handler on a PC From: Lucretia Injection-Date: Thu, 30 Jan 2020 19:10:55 +0000 Content-Type: text/plain; charset="UTF-8" Xref: reader01.eternal-september.org comp.lang.ada:57988 Date: 2020-01-30T11:10:55-08:00 List-Id: On Thursday, 30 January 2020 08:55:42 UTC, ah...@marriott.org wrote: > Hi, > > Does anyone know if it is possible to install a last chance handler for a PC program. > Ie Write a procedure that gets called when a program issues an unhandled exception > If it is possible how do you do it? Do you want to restrict the generation of exceptions such that only Last_Chance_Handler is called for all exceptions? If so, use pragma Restrictions.