on 7/29/02 5:13 PM, Thomas Tempelmann at listuser at tempel dot org wrote:
> 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.
Bingo! When this Failure Assertion occurs, I can usually rerun the program
in the IDE without problems until the next few runs. Only a few Failure
errors causes crash.
|