Debugger
Revision as of 09:35, 23 October 2013 by JKN (Talk | contribs) (Created page with "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 r...")
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 workflows.
Contents
Toolbar
Item | Purpose |
---|---|
Run | Runs the code or workflow synchronously (in the main thread); execution will block the debugger until it is finished |
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 Values 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
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 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.