[Laszlo-checkins] r11700 - openlaszlo/trunk/lps/components/debugger

hqm@openlaszlo.org hqm at openlaszlo.org
Thu Nov 6 09:21:24 PST 2008


Author: hqm
Date: 2008-11-06 09:21:23 -0800 (Thu, 06 Nov 2008)
New Revision: 11700

Modified:
   openlaszlo/trunk/lps/components/debugger/debugger.lzx
Log:
Change 20081106-hqm-K by hqm at badtzmaru-7.local on 2008-11-06 09:19:23 PST
    in /Users/hqm/openlaszlo/trunk4
    for http://svn.openlaszlo.org/openlaszlo/trunk

Summary:  fix persisted swf debugger command history

New Features:

Bugs Fixed: LPP-7297

Technical Reviewer: ptw
QA Reviewer: promanik
Doc Reviewer: (pending)

Documentation:

Release Notes:

Details:
    
+ code to restore the command history from persisted data had gotten lost someplace


Tests:

+ command history in debugger persists across app reloads in swf8,swf9



Modified: openlaszlo/trunk/lps/components/debugger/debugger.lzx
===================================================================
--- openlaszlo/trunk/lps/components/debugger/debugger.lzx	2008-11-06 09:00:10 UTC (rev 11699)
+++ openlaszlo/trunk/lps/components/debugger/debugger.lzx	2008-11-06 17:21:23 UTC (rev 11700)
@@ -548,6 +548,10 @@
   <![CDATA[
        // restore persistedDataed data
        this.persistedData = LzBrowserKernel.getPersistedObject('__lzdebugger');
+       if (this.persistedData) {
+           this.commandhistory = this.persistedData.data.commandhistory;
+           this.commandhistory_ptr = this.commandhistory.length;
+       }
        if (this.persist && this.persistedData) {
            for (var i in this.persistedData.data) {
                if (this[i] != null) {



More information about the Laszlo-checkins mailing list