[Laszlo-checkins] r8986 - openlaszlo/trunk/WEB-INF/lps/lfc/debugger

bargull@openlaszlo.org bargull at openlaszlo.org
Sat May 3 14:52:00 PDT 2008


Author: bargull
Date: 2008-05-03 14:51:57 -0700 (Sat, 03 May 2008)
New Revision: 8986

Modified:
   openlaszlo/trunk/WEB-INF/lps/lfc/debugger/LzMessage.lzs
Log:
Change 20080503-bargull-40K by bargull at dell--p4--2-53 on 2008-05-03 15:24:15
    in /home/Admin/src/svn/openlaszlo/trunk
    for http://svn.openlaszlo.org/openlaszlo/trunk

Summary: default args to non-undefined values

New Features:

Bugs Fixed: LPP-5929

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

Documentation:

Release Notes:

Details:
Handle case where "_dbg_filename" is undefined. 


Tests:
see bugreport



Modified: openlaszlo/trunk/WEB-INF/lps/lfc/debugger/LzMessage.lzs
===================================================================
--- openlaszlo/trunk/WEB-INF/lps/lfc/debugger/LzMessage.lzs	2008-05-03 20:09:04 UTC (rev 8985)
+++ openlaszlo/trunk/WEB-INF/lps/lfc/debugger/LzMessage.lzs	2008-05-03 21:51:57 UTC (rev 8986)
@@ -339,8 +339,8 @@
     for (var i = 0; i < args.length; i++) {
       var arg = args[i];
       if (arg is LzNode) {
-        file = arg['_dbg_filename'];
-        line = arg['_dbg_lineno'];
+        file = arg['_dbg_filename'] || null;
+        line = arg['_dbg_lineno'] || 0;
       }
     }
   }



More information about the Laszlo-checkins mailing list