Approved. If you haven't already checked this in, you could move the as3 specific code in LzDebug into platform/swf9/LzDebug, which is how other platform-specific overrides are handled in the debugger.
On 2010-10-29, at 14:06, Henry Minsky wrote: > Change hqm-20101029-sAx by [email protected] on 2010-10-29 14:04:08 EDT > in /Users/hqm/openlaszlo/trunk3 > for http://svn.openlaszlo.org/openlaszlo/trunk > > Summary: fix for debug eval compilation > > New Features: > > Bugs Fixed: LPP-8633 > > Technical Reviewer: ptw > QA Reviewer: max > Doc Reviewer: (pending) > > Documentation: > > Release Notes: > > Overview: > > omit the "with(Debug.environment)" when compiling swf10 eval debug > expressions, > as it causes a flex compiler bug > > > Details: > > declare the debug vars _ , __, ___ as globals for swf10 > > Tests: > > test case > > typing this expression to the debugger > (function (x) { return x+1 })(3) > > should compile without error in swf10, and return 4 > > Files: > M WEB-INF/lps/lfc/debugger/LzDebug.lzs > M WEB-INF/lps/server/src/org/openlaszlo/compiler/Compiler.java > > > Changeset: http://svn.openlaszlo.org/openlaszlo/patches/hqm-20101029-sAx.tar
