1,759 bytes added,
09:35, 23 October 2013 The Code- and Workflow Debugger (aka Who-Bert) is a tool primarily meant for testing, tracing and debugging. It is able to execute C# code on the fly and can also be used to run and trace [[Workflow|workflows]].
==Toolbar==
{| class="wikitable" | width = "50%"
|-
! Item !! Purpose
|- align="left"
| Run || Runs the code or workflow synchronously (in the main thread); execution will block the debugger until it is finished
|- align="left"
| Run async || Runs the code or workflow asynchronously (in a separate thread); execution will happen in the background and the debugger will not be blocked
|}
==Parameter section==
===Input parameters===
A list of input parameters to the code or workflow is located in the top left corner of the debugger. This list will be passed as
* Code: a parameter array to the method ''TestObject'' of all ''Value''s in the list, named ''InVariables''
* Workflow: a dictionary of InArguments (string, object) where each ''Parameter'' in the list is the key and each ''Value'' is the value
{{Hint|The default workflow (emtpy canvas) always expects an InArgument named UBIKObject (and therefore an input parameter named accordingly), its value can be null though if you don't need it}}
Simply start typing in a new cell of the Parameter column to create a new parameter and assign a value by either typing in the Value cell (i.e. for passing a string) or Drag&Drop an object from a [[Category:UBIK Studio Controls|{{UBIK}} Control]] to pass an object to the code or workflow.
===Output parameters===
A list of output parameters returned by the workflow as a dictionary of OutArguments (string, object). If the workflow doesn't return anything this list will stay empty.
==Code==
==Workflow==
==Output & Debugging section==