<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">hmmm... I found the bug with the Debug Flash Player installed. &nbsp;<div><div><br></div><div>Note, when the bug was there (trying to call a method on a null object), when I set</div><div><span class="Apple-style-span" style="color: rgb(84, 0, 0); ">compiler.swf9.catcherrors=true</span>&nbsp;</div><div>I got this (unhelpful) compiler error<br><div><div>org.openlaszlo.sc.CompilerError: line unknown: Error: Return value must be undefined, in line: }}</div><div>line unknown: Error: Return value must be undefined, in line: }}</div><div><br></div><div>Not sure if that is worth isolating and reporting as a bug, but it was pretty frustrating. &nbsp;(Debugging was further complicated by having had trunk at some point when the debugger had errors in swf9 which was fixed by 'svn up' but lost me for a bit)</div><div><br></div><div>Thanks for all of your help, Henry &amp; Raju!</div><div><br></div><div>Sarah</div></div><div><br><div><div>On Mar 18, 2009, at 2:46 PM, Henry Minsky wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div>Oh you're right, I was thinking of running without debugging enabled<br>for some reason.<br><br><br>On Wed, Mar 18, 2009 at 5:34 PM, Max Carlson &lt;<a href="mailto:max@openlaszlo.org">max@openlaszlo.org</a>> wrote:<br><blockquote type="cite">Hmm - I thought catcherrors caused the debugger to show errors in a (perhaps<br></blockquote><blockquote type="cite">more) useful way - with lzx line numbers... &nbsp;Is this incorrect?<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">Henry Minsky wrote:<br></blockquote><blockquote type="cite">&lt;snip/><br></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">You may have better luck if you uncomment this line in<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">WEB-INF/lps/config/lps.properties:<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">compiler.swf9.catcherrors=true<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">I would be reluctant to set the catcherrors=true. That was put in to<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">help people who want the app to proceed<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">in sprite of broken code, like swf8 does. But it will mostly serve to<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">mask the real source of errors, and the<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">flash debug player will give you useful runtime errors if you let it.<br></blockquote></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">&lt;snip/><br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">--<br></blockquote><blockquote type="cite">Regards,<br></blockquote><blockquote type="cite">Max Carlson<br></blockquote><blockquote type="cite">OpenLaszlo.org<br></blockquote><blockquote type="cite"><br></blockquote><br><br><br>-- <br>Henry Minsky<br>Software Architect<br><a href="mailto:hminsky@laszlosystems.com">hminsky@laszlosystems.com</a><br></div></blockquote></div><br></div></div></div></body></html>