Article Details
Id:13140
Product:finPOWER Connect
Type:NEW
Version:2.03.01
Opened:23/06/2015
Closed:24/07/2015
Released:07/08/2015
Job: J015771

New business layer method to view Script variables and objects; finBL.DebugWatch

Two new methods have been added to aid debugging Scripts:

  • finBL.DebugWatch
  • finBL.DebugWatchNamed

Each of these methods can take in a list of objects or variables to inspect.

The main difference is that the first parameter of the finBL.DebugWatchNamed method should be a String that is a comma-separated list of friendly names to appear in the Debug Watch form.

finBL.DebugWatch(mClient, mAccount, strTemp)

finBL.DebugWatchNamed("Client,Account,strTemp", mClient, mAccount, strTemp)

NOTE: When the Debug Watch form is open, a Script will not time out. Instead, it's timer will be restarted thereby making the Script's configured timeout inaccurate.

The Debug Watch form allows objects and property values to be viewed and also displays the business layer help for the selected object or property.

Right-clicking a property in the tree will display one or more 'Visualise' options for certain types, e.g., ISKeyValueList. This will display an HTML summary of the object.