debug

Write a string to the openGear Debug Information view.

The openGear Debug Information view must be open to view debug messages. To open the openGear Debug Information view, select openGear Debug Information from the Views menu in DashBoard.

Syntax

ogscript.debug (Message);

Parameters

Parameter

Type

Required

Description

Message

String

Yes

Message to display in the openGear Debug Information View.

Returns

N/A

Example 1

ogscript.debug ('This is a message');

Example 2

var data = params.getValue(0x12,0);

ogscript.debug ('Parameter 0x12 (score):' + data);

Example 3

ogscript.debug ('Parameter 0x12 (score):' + params.getValue(0x12,0));