Not a direct answer, but I did recently learn about this approach to debug vs release builds, which at least allows one to put liberal asserts etc. in a debug build:
http://www.pixelate.de/blog/categories/actionscript On Tue, Jun 24, 2008 at 1:09 PM, dave_defusion <[EMAIL PROTECTED]> wrote: > I'm about to embark on my third real Flex app and something I'm still > not happy with is my handling (or lack of) of run time exceptions. > Previously I've setup a logging target to log to the backend any > strange/very rare exceptions that I can think of within my code. > > However the lack of a catch-all solution for those totally un-expected > exceptions (which sneak through but are of course the worst kind) is > something that I really miss from my previous (non Flex/flash) > projects where I've had the ability to have a catch-all solution to > wrap the entire application. > > I just wondered how other people were handling this, if at all? As > no-one likes it when an error occurs and you don't know about it > without someone telling you about it -- it's even worse if it kills > the app. > >

