Debugging a WF program
In this task, we will debug a WF program.
How to do it...
using System.Activities;
using System.Activities.Statements;
namespace DebugWFProgram
{
class Program
static void Main(string[] args)
WorkflowInvoker.Invoke(new Workflow1()
InMessage = "In Message"
});
}
There's more...
We can also debug an XAML Workflow. Open Workflow with the XML editor, insert some breakpoints, then press F5; we will see the breakpoints as shown in the following screenshot: