Trapping errors when a stack opens

Peter Haworth pete at lcsql.com
Sun Jul 27 23:28:26 EDT 2014


Hi Mark,
Not quite my situation.  The try/catch isn't in the preOpenxxx Handler
which has the error, it's in the script of the stack that issues the open
stack command.


Pete
lcSQL Software <http://www.lcsql.com>
Home of lcStackBrowser <http://www.lcsql.com/lcstackbrowser.html> and
SQLiteAdmin <http://www.lcsql.com/sqliteadmin.html>


On Sun, Jul 27, 2014 at 12:10 PM, Mark Wieder <mwieder at ahsoftware.net>
wrote:

> Pete-
>
> Saturday, July 26, 2014, 12:05:02 PM, you wrote:
>
> > Unfortunately, this will be running on other folks computers so can't
> rely
> > on them having PowerDebug installed.
>
> OK - I did another test (without PowerDebug in the system) and it
> functioned as expected: runtime error in the preopenstack handler in a
> try/catch construct; the catch code executed properly and the script
> continued past the end try statement. Do you maybe have something else
> going on besides just a simple runtime error? There *are* some fatal
> errors that try/catch exception handling won't trap, and maybe you've
> got one of those?
>
> --
> -Mark Wieder
>  ahsoftware at gmail.com
>
> This communication may be unlawfully collected and stored by the National
> Security Agency (NSA) in secret. The parties to this email do not
> consent to the retrieving or storing of this communication and any
> related metadata, as well as printing, copying, re-transmitting,
> disseminating, or otherwise using it. If you believe you have received
> this communication in error, please delete it immediately.
>
>
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>



More information about the use-livecode mailing list