Change ptw-20110124-Egz by [email protected] on 2011-01-24 19:20:39 EST in /Users/ptw/OpenLaszlo/trunk-3 for http://svn.openlaszlo.org/openlaszlo/trunk
Summary: Un-rot rhino.js Debug interface Bugs Fixed: LPP-9706 Rhino runtime for lztest has rotted, does not know how to intercept and print/log debug output Technical Reviewer: [email protected] (pending) QA Reviewer: [email protected] (pending) Details: LzBootstrapDebugService: Pretty up the output to the rhino console: unescape xml, trim trailing newlines when you can. Fix the console detection code to discover the rhino pseudo-console. rhino.js: Rip out all the stubs that were clobbering the debugger output routines. Enable logging with the correct flag. Add a pseudo-console with a log function that will be picked up by the debug console and used to log the debugger output. Smash the makeObjectLink in the debugger to not be so noisy. Tests: Run `ant lztest'. You should see a file lzjum.log created in the root folder of your build. It should contain statements like: INFO: anonymous name: foobar am instance foobar, parent is This is the canvas INFO: Passed all suites. INFO: Passed all suites. ... Files: M WEB-INF/lps/lfc/compiler/LzBootstrapDebugService.lzs M lps/utils/rhino.js Changeset: http://svn.openlaszlo.org/openlaszlo/patches/ptw-20110124-Egz.tar
