realbasic-betas.mbox
[Top] [All Lists]

Re: Failure Assertion Exception

To: REALbasic Betas <realbasic-betas at lists dot realsoftware dot com>
Subject: Re: Failure Assertion Exception
From: Thomas Tempelmann <listuser at tempel dot org>
Date: Mon, 29 Jul 2002 17:13:35 -0700
Lo Saeteurn wrote:

>It should still show the dialog, but if you click continue, the 
>exception error would occur. i don't see any downside with this.

You mean you want to see a RB exception to happen? This may
often not be possible technically, since RB will be in a deep
runtime function, from which it can't simply raise a RB
exception, because the context may not be set up for it.

Ah, now believe I slowly get to your goal: You do not want to
have the exception to allow your app to continue safely, but
rather to see in which area it happened for debugging your
code. Yes, perhaps RB could indeed _try_ at least to raise
that exception. It's already hosed anyways, so there is no
reason to try to prevent the app from crashing further.
It could be a last resort, and it could help. Seldomly, but
it might.

Thomas


<Prev in Thread] Current Thread [Next in Thread>