Debug CodeWorkflows

Build 1501 on 14/Nov/2017  This topic last edited on: 26/Aug/2014, at 11:56

The code workflows can now be debugged as a normal VB addin:

Click to toggle graphic size

How to start code workflow debugging

1.Insert the statement If Debugger.IsAttached Then Stop where do you want to enter debug (usually as first instruction) in the workflow code and import it.

2.Launch the site project in debug or attach to w3wp.

3.Execute the above workflow using the standard way they are executed (ie: Publish from PubDestDesigner).

Now you can follow step-by-step the workflow and access to all variables in it.

Important notes:

The debugger must be running on the server.

Do not debug in production, the server does not respond to other calls when debugging.