To debug an existing workflow into the testing environment, you have to:
1.Open the testing environment (CodeWorkflowTestExpress solution). See also Setup testing environment.
2.Open the configuration file (“wf_...” file) of the code workflow to debug.
3.Copy all the contents of tag “<Sequential><![CDATA[“ into Program.vb module, just after the “Sequential workflow code goes here” comment.
4.Copy all the contents of tag “<Members><![CDATA[“ into Program.vb module, just after the “Sequential workflow sub/functions/fields go here” comment.
5.If needed, added to the CodeWorkflowTestExpress project the references specified into the <References> tag.
6.If needed, add the ‘Imports’ statement at the top of the Program.vb module for each namespace specified into the <Imports> tag.
7.Set the needed break-points and run the CodeWorkflowTestExpress project (F5).
See also