I don't want to document this yet.  It is an experimental feature.

On 2008-12-15, at 17:40EST, Donald Anderson wrote:

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 [email protected] 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: [email protected] (pending)
QA Reviewer: [email protected] (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: [email protected]
www: http://www.ddanderson.com





Reply via email to