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 autolearn=unavailable autolearn_force=no version=3.4.4 Path: eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail From: "J-P. Rosen" Newsgroups: comp.lang.ada Subject: Re: Last chance handler on a PC Date: Fri, 31 Jan 2020 06:53:26 +0100 Organization: Adalog Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Date: Fri, 31 Jan 2020 05:53:26 -0000 (UTC) Injection-Info: reader02.eternal-september.org; posting-host="24677564a5cd87f351575622eebb9bb7"; logging-data="25754"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+CTLtH585KZLrHqssdS37c" User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.4.2 Cancel-Lock: sha1:COOSBLcwLRfc67FCTCvujiY+1CM= In-Reply-To: Content-Language: fr Xref: reader01.eternal-september.org comp.lang.ada:57996 Date: 2020-01-31T06:53:26+01:00 List-Id: Le 30/01/2020 à 20:27, ahlan@marriott.org a écrit : > Very interesting but we want to catch all unhandled exceptions, specifically those raised during package elaboration. > Ah, OK now I see the problem. You'll need to have an exception handler in every package body, but be careful about elaboration order! Note: AdaControl can check that every task has an exception handler; I'll add an analoguous check for library packages. -- J-P. Rosen Adalog 2 rue du Docteur Lombard, 92441 Issy-les-Moulineaux CEDEX Tel: +33 1 45 29 21 52, Fax: +33 1 45 29 25 00 http://www.adalog.fr