[Laszlo-dev] For Review: Change 20081112-hqm-c Summary: fix for debugger SOLO mode operation

P T Withington ptw at laszlosystems.com
Fri Nov 14 13:55:31 PST 2008


I was going to file an improvement request, but perhaps it's not worth  
it.  What's the market penetration of swf9 these days?

On 2008-11-12, at 20:03EST, Henry Minsky wrote:

> On Wed, Nov 12, 2008 at 7:44 PM, P T Withington  
> <ptw at laszlosystems.com> wrote:
>> Approved.
>>
>> We really would save ourselves some headaches I think if the swf8  
>> and swf9
>> console's both referred to their window the same way (rather than  
>> swf8
>> console _being_ the window, and swf9 console _having_ a window).
>>
>
> Yeah definitely. Can you see an easy way to do that?
>
>
>
>> As soon as you check this in, I will update and send you my 'simple
>> evaluator' change that makes solo debugging able to at least  
>> evaluate simple
>> object member and array element expressions (i.e., so one could say
>> `canvas.subnodes[3]`) without having to call the server to compile  
>> the
>> expression.
>>
>> On 2008-11-12, at 18:57EST, Henry Minsky wrote:
>>
>>> Change 20081112-hqm-c by hqm at badtzmaru.home on 2008-11-12 18:52:18  
>>> EST
>>>  in /Users/hqm/openlaszlo/trunk4
>>>  for http://svn.openlaszlo.org/openlaszlo/trunk
>>>
>>> Summary: fix for debugger SOLO mode operation
>>>
>>> New Features:
>>>
>>> Bugs Fixed: LPP-7271
>>>
>>> Technical Reviewer: ptw
>>> QA Reviewer: (pending)
>>> Doc Reviewer: (pending)
>>>
>>> Documentation:
>>>
>>> Release Notes:
>>>
>>> Details:
>>>
>>> + fix bug in ResponderSTAT.java which caused debugger probe check  
>>> to think
>>> server was
>>> not there
>>>
>>> + make debugger check for server unconditionally (not just in SOLO  
>>> mode)
>>>
>>> + add handler for IO Error event on eval loads, to avoid Flash  
>>> runtime
>>> error dialog
>>>
>>> + fix swf8 eval to set SOLO attribute on the correct object
>>>
>>> Tests:
>>>
>>> grab an app in swf8 and swf9, like this
>>>
>>> wget -O bar.swf
>>> "http://127.0.0.1:8080/trunk4/test/hello.lzx?lzr=swf9&debug=true&lzt=swf 
>>> "
>>>
>>> copy to root of Tomcat, so it is not in the same path  as the LPS,  
>>> and see
>>> if it falls back to SOLO mode
>>>
>>>
>>> Files:
>>> M
>>> WEB-INF/lps/server/src/org/openlaszlo/servlets/responders/ 
>>> ResponderSTAT.java
>>> M      lps/components/debugger/debugger.lzx
>>> M      lps/components/debugger/platform/swf8/eval.lzs
>>> M      lps/components/debugger/platform/swf9/eval.lzs
>>>
>>>
>>> Changeset: http://svn.openlaszlo.org/openlaszlo/patches/20081112-hqm-c.tar
>>
>>
>
>
>
> -- 
> Henry Minsky
> Software Architect
> hminsky at laszlosystems.com



More information about the Laszlo-dev mailing list