Difference between revisions of "Activity:DebugMessage (Activity)"
m (moved DebugMessage (Activity) to DebugMessage (Activity): Text replacement - "(.*)\(Activity\)" to "Activity:$1(Activity)") |
|||
Line 1: | Line 1: | ||
+ | The DebugMessage Activity writes a string to the {{UBIK}} debugging service, which is i.e. displayed in the [[Debugger|Code- and Workflow Debugger]]. | ||
{{ActivityInfoBox | {{ActivityInfoBox | ||
| title = Debug Message | | title = Debug Message | ||
Line 9: | Line 10: | ||
| version = 2.1+ | | version = 2.1+ | ||
}} | }} | ||
− | |||
− | ==Arguments== | + | = Description = |
+ | ===Arguments=== | ||
{| class="wikitable sortable" | width = "50%" | {| class="wikitable sortable" | width = "50%" | ||
Line 30: | Line 31: | ||
{{Hint|Once your workflow runs smoothly, consider removing the DebugActivities you used during design. They are lean but they still consume resources!}} | {{Hint|Once your workflow runs smoothly, consider removing the DebugActivities you used during design. They are lean but they still consume resources!}} | ||
− | + | =Example= | |
− | + | ||
Output the number of MetaClasses that derive (direct and indirect) from the MetaClass of a given object: | Output the number of MetaClasses that derive (direct and indirect) from the MetaClass of a given object: | ||
− | |||
{| class="wikitable" | width = "50%" | {| class="wikitable" | width = "50%" | ||
Line 43: | Line 42: | ||
| Text || <source lang = "vbnet">UBIKObject.MetaClass.AllDerivates.Count.ToString()</source> | | Text || <source lang = "vbnet">UBIKObject.MetaClass.AllDerivates.Count.ToString()</source> | ||
|} | |} | ||
+ | |||
+ | {{ActivityClose}} | ||
==See also== | ==See also== |
Revision as of 10:00, 10 March 2015
The DebugMessage Activity writes a string to the UBIK® debugging service, which is i.e. displayed in the Code- and Workflow Debugger.
Debug Message | |
---|---|
Name | DebugMessage |
Purpose | Output a string to the debug window |
Category | Debugging |
Returns | True if successful |
Version | 2.1+ |