Debug (BDebugBlock)

This block provides tools to debug algorithms. To provide debug information for value and trend requests, you link this block in line between other blocks in an algorithm.
Figure 110.   Debug Block properties
Image

To view these properties, double-click the block on the Wire Sheet or the block name in the Nav tree.

Property Value Description
Enabled true or false Turns use of this block on and off.

true causes the Debug Block to processes requests based on the Debug Mode property and updates the Results property.

false disables processing.

Regardless of the Enabled property value, the Debug Block always passes the unmodified value or trend data through to the downstream linked blocks.

Debug Mode See Debug mode check boxes Controls specific results so that you can better understand and explain the results you are receiving.
Print Trend to Console true or false Controls the trend rows that appear in the console.

When true, the framework prints every row of a trend to the console where you can view each row in the Application Director.

Results data Provides details about the request parameters and, for value requests, the resulting value.

Debug mode check boxes

Debug mode check box Description
All Requests When enabled, updates the result field for every request.
All Trend Requests When enabled, updates the result field with trend requests only.
All Value Requests When enabled, updates the result field for value requests only.
Next Request When enabled, updates the result field for the next request, then disables itself.
Next Trend Request When enabled, updates the result field for the next trend request, then disables itself.
Next Value Request When enabled, updates the result field for the next value request, then disables itself.