It does work for me, but I'm confused how 'canvas.id' is unique, it always
seems to be the string
'lzapp' no matter what app I look in. I guess the persistent object keys off
of the URL internally
already, so it will be doing the right thing by retrieving data for this
URL.

note:
I see that the debug console gets passed a "appuid"  from the server, which
looks like a unique number, but it looks like we're
not passing that into the app, and that would not be the right key for
persistent data anyway
because we want it to be the same value for the same app URL, even if the
page gets reloaded.

 I think at one point I was going
to use that appuid as the 'rendevouz' for the LocalConnection when you run
the debugger in
'console remote' mode,  so that that specific debug console would be matched
to the specific instance
of the app page that it was generated for, so you could in theory use the
remote debugger to debug two instances of the same app at the same time.
But for now it just uses the app URL.









On Wed, Mar 31, 2010 at 2:01 PM, Max Carlson <[email protected]> wrote:

> Change 20100331-maxcarlson-f by maxcarl...@bank on 2010-03-31 10:58:51 PDT
>    in /Users/maxcarlson/openlaszlo/trunk-clean
>    for http://svn.openlaszlo.org/openlaszlo/trunk
>
> Summary: Turn on debugger command history, restrict based on app ID
>
> Bugs Fixed: LPP-8868 - Debugger command history not working in swf9/10
>
> Technical Reviewer: hminsky
> QA Reviewer: ptw
>
> Details: Default persist to true, use app ID as part of persist object ID,
> to keep separate app contexts from trampling each other.
>
> Tests: Command history now works in swf9/10
>
> Files:
> M       lps/components/debugger/debugger.lzx
>
> Changeset:
> http://svn.openlaszlo.org/openlaszlo/patches/20100331-maxcarlson-f.tar
>



-- 
Henry Minsky
Software Architect
[email protected]

Reply via email to