[Laszlo-dev] For Review: Change 20081112-ptw-E Summary: Add a simple evaluator to the swf8/9 debugger
andre.bargull at udo.edu
Sat Nov 15 07:26:11 PST 2008
While testing, I've noticed you must not have leading or trailing
whitespace in the expression, or the "SimpleExprPattern" will fail to
match against the string. For instance in "canvas.subviews ".
On 11/13/2008 2:37 PM, P T Withington wrote:
> It's not meant to. I'm just trying to handle the simple "path"
> expressions you might type into the debug evaluator in order to inspect
> your application. I don't see any reason to need `canvas['subviews']`
> since the user can more easily say `canvas.subviews`.
> On 2008-11-13, at 05:13EST, André Bargull wrote:
>> The RegExp fails for the bracket-notation, e.g. `canvas['subviews']`.
>> var re = new
>> On 11/13/2008 3:54 AM, P T Withington wrote:
>>> Change 20081112-ptw-E by ptw at dueling-banjos.home on 2008-11-12
>>> 21:45:49 EST
>>> in /Users/ptw/OpenLaszlo/trunk
>>> for http://svn.openlaszlo.org/openlaszlo/trunk
>>> Summary: Add a simple evaluator to the swf8/9 debugger
>>> Bugs Fixed:
>>> LPP-7271 swf9: exceptions running debugger in embedded HTML
>>> Technical Reviewer: hminsky (pending)
>>> QA Reviewer: a.bargull at intensis.de (pending)
>>> Added a simple evaluator that can evaluate globals, object member
>>> and array index expressions without having to invoke the server
>>> compiler (e.g., `canvas.subviews`). This will allow simple
>>> object inspection in the debugger in solo apps or apps deployed
>>> without the lps server; it will also speed up the evaluation of
>>> such simple expressions as the server will not be invoked to
>>> compile them.
>>> lzc --debug someapp.lzx, load that app directly from your
>>> filesystem, evaluate `canvas.subviews` in the debugger and note
>>> that it works.
>>> M lps/components/debugger/debugger.lzx
More information about the Laszlo-dev