[Laszlo-dev] For Review: Change 20081215-ptw-M Summary: Add config var for compiler.swf9.catcherrors
Donald Anderson
dda at ddanderson.com
Mon Dec 15 14:40:49 PST 2008
approved!
I wonder if this is option should be documented somewhere -- maybe in
release notes?
If so, we should probably also document that one can selectively turn
off/on this behavior per class, and further override on function basis
by turning on/off #pragma "catchFunctionExceptions=true" (or =false).
- Don
On Dec 15, 2008, at 4:34 PM, P T Withington wrote:
> Change 20081215-ptw-M by ptw at dueling-banjos.home on 2008-12-15
> 16:06:49 EST
> in /Users/ptw/OpenLaszlo/trunk
> for http://svn.openlaszlo.org/openlaszlo/trunk
>
> Summary: Add config var for compiler.swf9.catcherrors
>
> New Features:
> The default setting for -DcatchFunctionExceptions can be set in
> lps.properties using compiler.swf9.catcherrors=true
>
> Bugs Fixed:
> LPP-7270 swf9: debugger hanging
>
> Technical Reviewer: dda at ddanderson.com (pending)
> QA Reviewer: mohammad.zeineddin at g.ho.st (pending)
>
> Details:
> LzRuntime: crib the code from $reportSourceWarning so these errors
> look like regular debugger errors, and so a repeated error will
> not flood the debugger output
>
> lps.properties: Add compiler.swf9.catcherrors, defaulted to false
> for now
>
> Compiler: Obey lps.properteis default if catchFunctionExceptions
> is not already set
>
> Tests:
> Test case from bug report
>
> Files:
> M WEB-INF/lps/lfc/compiler/LzRuntime.lzs
> M WEB-INF/lps/config/lps.properties
> M WEB-INF/lps/server/src/org/openlaszlo/sc/Compiler.java
>
> Changeset: http://svn.openlaszlo.org/openlaszlo/patches/20081215-ptw-M.tar
--
Don Anderson
Java/C/C++, Berkeley DB, systems consultant
voice: 617-306-2057
email: dda at ddanderson.com
www: http://www.ddanderson.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.openlaszlo.org/pipermail/laszlo-dev/attachments/20081215/fef22fd6/attachment-0001.html
More information about the Laszlo-dev
mailing list