From owner-freebsd-openoffice Thu Oct 10 10:35: 8 2002 Delivered-To: freebsd-openoffice@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3ED0537B401; Thu, 10 Oct 2002 10:35:07 -0700 (PDT) Received: from mail.imp.ch (mail.imp.ch [157.161.1.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3012643E9E; Thu, 10 Oct 2002 10:35:06 -0700 (PDT) (envelope-from mb@imp.ch) Received: from nbs.imp.ch (nbs.imp.ch [157.161.4.7]) by mail.imp.ch (8.12.3/8.12.3) with ESMTP id g9AHZ5kE051006; Thu, 10 Oct 2002 19:35:05 +0200 (CEST) (envelope-from Martin.Blapp@imp.ch) Received: from levais.imp.ch (levais.imp.ch [157.161.4.66]) by nbs.imp.ch (8.12.3/8.12.3) with ESMTP id g9AHZ5751442036; Thu, 10 Oct 2002 19:35:05 +0200 (MES) Date: Thu, 10 Oct 2002 19:36:07 +0200 (CEST) From: Martin Blapp To: "Kevin B. Hendricks" Cc: , , Subject: Re: [porting-dev] FreeBSD: Uncatched exception problem In-Reply-To: <200210101314.22210.kevin.hendricks@sympatico.ca> Message-ID: <20021010192739.S15308-100000@levais.imp.ch> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-openoffice@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi, > So it would be interesting to change this catch to catch everything just to > make sure the stack walkback to find the catch is close to working and > then check the type of the exception. Doesn't work. been there, but are you sure it is the right "try" we are looking at ? But it is strange ... printf("try XXX - 1\n"); sTypeName = xDetection->queryTypeByDescriptor( lDescriptor, bDeep ); // If no exception occure - but we couldn't detect right type ... // we can try to get neccessary information by using interaction // An interaction handler should exist everytime. // If user forgot to set anyone - we created our own one some lines printf("try XXX - 2\n"); try XXX - 1 Abort trap (core dumped) Only the first point is hit ... > I would simply add debug print statements to these two methods to confirm > if the catch is made but somehow it is not an exAbort and so another throw > is done. If you do not get the right catch, try changeing it to catch > everything "..." and the print out the type of whatever is caught. Nope, the catch is never reached. Martin To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-openoffice" in the body of the message