[Laszlo-dev] [Laszlo-checkins] r11700 - openlaszlo/trunk/lps/components/debugger
P T Withington
ptw at pobox.com
Thu Nov 6 09:26:08 PST 2008
Approved.
IWBN to know how this got lost...
On 2008-11-06, at 09:21PST, hqm at openlaszlo.org wrote:
> 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) {
>
>
> _______________________________________________
> Laszlo-checkins mailing list
> Laszlo-checkins at openlaszlo.org
> http://www.openlaszlo.org/mailman/listinfo/laszlo-checkins
More information about the Laszlo-dev
mailing list