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).

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 [EMAIL PROTECTED] 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

Reply via email to