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=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,728ebc1b09769de6 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-05-17 18:27:03 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.mathworks.com!wn3feed!worldnet.att.net!204.127.198.204!attbi_feed4!attbi_feed3!attbi.com!sccrnsc02.POSTED!not-for-mail From: "Steve Doiel" Newsgroups: comp.lang.ada References: Subject: Re: Whats wrong with my Callbacks? X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 Message-ID: NNTP-Posting-Host: 12.225.227.101 X-Complaints-To: abuse@attbi.com X-Trace: sccrnsc02 1021685218 12.225.227.101 (Sat, 18 May 2002 01:26:58 GMT) NNTP-Posting-Date: Sat, 18 May 2002 01:26:58 GMT Organization: AT&T Broadband Date: Sat, 18 May 2002 01:27:02 GMT Xref: archiver1.google.com comp.lang.ada:24324 Date: 2002-05-18T01:27:02+00:00 List-Id: Try this for a.adb with Ada.Text_io; package body A is task body sim is begin loop Global_Ptr.all; end loop; exception when others => Ada.Text_Io.Put_Line( "Exception!!!" ); end sim; begin null; end a; The default behavior when an unhandled exception occurs in a task is for the task to terminate silently. As to why it isn't working... to begin with the task may try dereferencing the pointer before it has been assigned. SteveD "Darren" wrote in message news:ac2jku$t1s$1@newstoo.ericsson.se... > Could anybody tell me why this isnt working? > > /D > > >