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: Nathan Fisher <virtual1 at pitnet dot net>
Date: Tue, 30 Jul 2002 01:59:37 -0500


On Monday, July 29, 2002, at 06:05  PM, Thomas Tempelmann wrote:

James Sentman wrote:

I wish there was a way to not display those dialogs in shipping apps.
If an app crashes I need to to just crash, I do not need it to hang
with an assertion failure dialog with OK as the default value. almost
invariably when a user sees one of these things they click OK, which
on OS9 often leads to the machine crashing instead of just quitting
the app which would have left the machine running OK.

And in a built RB app, it would be more prudent, to create a file,
e.g. on the desktop, or in the temp folder, that contains the
crash information. That way, if the user clicks the msg away because
he has no clue what it means, the info is still preserved.


Or, in OSX, RB should send this information to the Console.

Charles Yeomans

Anyone happen to have any nice little pack of code for sending messages to console from within a RB app? I'd prefer just good ol RB code rather than a plug-in, if that's possible. (I'm going to guess it's do-able with RBscript somehow?) I'd like to add that functionality to Project Cuisinart's bugnet feature. :-)

Come to think of it, maybe even add an entry to the app's Crash Log file too. Hmmm... (PC already creates a text file in the app's folder with crash info... exception type, location, and function stack traceback)

- Nathan



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