I was looking at the as3 generated code for an onclick handler which came from this source code<br><br>       &lt;button onclick=&quot;canvas.test(1)&quot;&gt;click me &lt;/button&gt;<br><br>It looks like this, when compiled in debug mode<br>

<br>public function $lzc$handle_onclick$$args$2Elzx_11_41_$m492 ($lzc$ignore_$1) {<br>    try {<br>        canvas.test(1);<br>    }<br>    catch ($lzsc$e) {<br>        if ($lzsc$e is Error) {<br>            if (lz[&quot;$lzsc$thrownError&quot;] === $lzsc$e) {<br>

                throw $lzsc$e;<br>            };<br>            $lzsc$runtime.reportException(&quot;args.lzx&quot;, 11, $lzsc$e);<br>        };<br>        throw $lzsc$e;<br>    }<br>}<br><br>If some error is thrown in the call to &quot;test&quot;, this wrapper looks like it will always catch and then<br>

 rethrow it. Is this the expected behavior? I sort of thought we were going to catch and report the error <br>to our debugger, and then discard it rather than rethrowing it, in this case (debugger on)? <br><br>-- <br>Henry Minsky<br>

Software Architect<br><a href="mailto:hminsky@laszlosystems.com">hminsky@laszlosystems.com</a><br><br><br>