Author: lou
Date: 2008-03-13 13:16:01 -0700 (Thu, 13 Mar 2008)
New Revision: 8257
Modified:
openlaszlo/trunk/WEB-INF/lps/lfc/compiler/LzRuntime.lzs
Log:
Change 20080313-lou-E by [EMAIL PROTECTED] on 2008-03-13 16:06:13 AST
in /Users/lou/src/svn/openlaszlo/trunk
for http://svn.openlaszlo.org/openlaszlo/trunk
Summary: Clarify dbugger and debug tag info in the reference
Bugs Fixed: LPP-4936
Technical Reviewer: (pending)
QA Reviewer: (pending)
Doc Reviewer: (pending)
Details:
Remove the incorrect info about how to enable the debugger, and just link
to the appropriate section in the dguide.
Document that the debug tag is optional, and describe the default behavior.
Change "hotlink" in the example code to "inspectable object".
Tests: visual verify
Modified: openlaszlo/trunk/WEB-INF/lps/lfc/compiler/LzRuntime.lzs
===================================================================
--- openlaszlo/trunk/WEB-INF/lps/lfc/compiler/LzRuntime.lzs 2008-03-13
20:12:30 UTC (rev 8256)
+++ openlaszlo/trunk/WEB-INF/lps/lfc/compiler/LzRuntime.lzs 2008-03-13
20:16:01 UTC (rev 8257)
@@ -80,32 +80,25 @@
var Debug;
/**
- * The <tagname>debug</tagname> tag controls the initial appearance
- * and options of the debugger when debugging is enabled. Debugging is
- * enabled either by including the <code>debug="true"</code> option on
- * the <xref linkend="LzCanvas"><tagname>canvas</tagname></xref> tag,
- * or adding the <code>?debug=true</code> query argument to the
- * application's URL.
+ * <p>The optional <tagname>debug</tagname> tag controls the appearance of
the debugger when
+ * debugging is on. It does not cause the application to be
+ * compiled with debugging mode enabled. There are three ways to
+ * enable the debugger, as described in the
+ * <a href="${dguide}debugging.html#enabling-the-debugger">Debugging</a>
chapter of the Developer's Guide.</p>
*
+ * <p>By default, the debug window will be sized to fit the lower 1/2 of
the canvas, and can be
+ * resized as necessary.</p>
+ *
* <example title="debug tag"><programlisting><![CDATA[
* <canvas debug="true" height="120">
* <debug width="300" height="50" x="5" y="5" fontsize="8"/>
* <script>
* Debug.write("Hello world!");
- * Debug.warn('This is a hotlink: %w', {a: 1, b: 2});
+ * Debug.warn('This is an inspectable object: %w', {a: 1, b: 2});
* </script>
* </canvas>]]>
* </programlisting></example>
*
- *
- * The debug tag controls the appearance of the debugger when
- * debugging is on. It does not cause the application to be
- * compiled with debugging mode enabled. Only the debug option on
- * the canvas and the debug query parameter of the URL do this.
- *
- * For more information, see the
- * <a href="${dguide}debugging.html">Debugging</a> chapter of the Guide.
- *
* @shortdesc The Laszlo debugger
* @keywords private_constructor
* @access public
_______________________________________________
Laszlo-checkins mailing list
[email protected]
http://www.openlaszlo.org/mailman/listinfo/laszlo-checkins