dglux5_wiki:dataflow:dataflow_blocks_reference:logic:trace

Action unknown: plugin_bookcreator__addtobook

Trace

Block Group: Logic
Icon:Trace block icon

Monitors changes to specified properties and logs changes in the browser's JavaScript console. This block is useful for debugging dataflow. It logs changes using the following syntax:

Trace: <timestamp> : <traceLabel> : <property path> : <msg> : <value>

The traceLabel and msg portions appear only if those properties are defined.

For information on using dataflow blocks, see Dataflow.


These properties can take input and give output.

  • tracing (boolean)
  • msg (string)
  • input n

tracing specifies whether the changes are recorded. In addition to TRUE and FALSE, you can also set a value of Auto.

Tips: Setting the tracing Value to Auto

  • The default value is Auto when you add a new Trace block.
  • You can also make the value Auto by mousing over the property, clicking the blue dot, and selecting Reset.
  • An Auto value looks like a False value, with two differences: if the value is Auto, then when you hover over the property, the blue dot is not filled in, and when you click the blue dot, there is no Reset option.
  • TRUE: Changes are logged in the console.
  • FALSE: Changes are not logged.
  • Auto: Changes are logged only if the Advanced property traceLabel is not null for the Stage.

tracing and msg are not shown on the block; edit them in the Properties panel.

msg specifies a string to be included in the developer console when values for this block are updated.

input n specifies the path to one of the properties that this block monitors. Bind the property that you want to monitor to it; changes are logged only for bound inputs. The block has one input by default; click the plus sign to add more.


This is a basic use of the block.

Dataflow ModelDescription
Trace dataflow modelEach log message in the console includes the value of msg ("AAAA") and also the Stage's value of traceLabel ("BBBB").

  • dglux5_wiki/dataflow/dataflow_blocks_reference/logic/trace.txt
  • Last modified: 2026/10/22 13:25
  • by 127.0.0.1