Change 20090925-ptw-s by [email protected] on 2009-09-25 11:41:42 EDT in /Users/ptw/OpenLaszlo/trunk for http://svn.openlaszlo.org/openlaszlo/trunk
Summary: Eliminate Debug.evalCarefully, now that it is no longer needed Bugs Fixed: LPP-8479 Debug.evalCarefully not necessary after LPP-8222? Technical Reviewer: [email protected] (pending) QA Reviewer: hminsky (pending) Release Notes: When debugging is on, we will catch, report, and ignore errors that are not specifically declared with `#pragma "throwsError=true". Details: JavascriptGenerator: Replace the concept of a 'checked node' with just making sure the source annotations are correct, in case the node causes a runtime error. In the error handler, if backtracing is on, use the more accurate runtime line information. Compiler.java: Add a subclass of PassthroughNode, AnnotatedNode, so we can be a little more efficient and not double-annotate. (This unfortunately doesn't prevent all redundant settings of the backtrace line number.) Tests: Verify that test case in bug displays error (with correct line number, when backtrace is enabled). Examine output of compiler in DHTML to see that line annotations are inserted for "checked" nodes. smokecheck x {swf10, dhtml} Files: M WEB-INF/lps/server/src/org/openlaszlo/sc/JavascriptGenerator.java M WEB-INF/lps/server/src/org/openlaszlo/sc/Compiler.java Changeset: http://svn.openlaszlo.org/openlaszlo/patches/20090925-ptw-s.tar _______________________________________________ Laszlo-reviews mailing list [email protected] http://www.openlaszlo.org/mailman/listinfo/laszlo-reviews
