[Laszlo-dev] can't seem to turn off catcherrors in the LFC

Henry Minsky hminsky at laszlosystems.com
Fri Oct 23 20:41:39 PDT 2009


I'm trying to build a swf10 debug LFC with catcherrors disabled, so I can
use the native flex fdb tool to step through and
catch errors.

But the LFC seems to be getting built with try-catch around every method.

I'm doing

./buildlfcdebug --runtime=swf10

And it wraps a try-catch around each method, with a catch that looks like

/* -*- file: -*- */
catch ($lzsc$e) {
if ($lzsc$e is Error && $lzsc$e !== lz["$lzsc$thrownError"]) {
$lzsc$runtime.$reportException("kernel/swf9/LzMouseKernel.as", 255, $lzsc$e)
} else {
throw $lzsc$e
}};

Is there a way to get it to omit the whole try-catch wrapper entirely?

-- 
Henry Minsky
Software Architect
hminsky at laszlosystems.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.openlaszlo.org/pipermail/laszlo-dev/attachments/20091023/5cbcd7d6/attachment.html


More information about the Laszlo-dev mailing list