Server-side function | |
Implemented in | LiveWire 1.0 |
Syntax
debug(expression)
Parameters
expression | Any valid JavaScript expression. |
Description
The debug
function is a top-level server-side JavaScript function that is not associated with any object.
Use this function to display the value of an expression for debugging purposes. The value is displayed in the trace facility of the Application Manager following the brief description "Debug message:".
Examples
The following example displays the value of the variable data
:
debug("The final value of data is " + data)
Last Updated: 10/31/97 16:38:00