Sentient

Actually I would love to know how you can debug the rules.

Can you see which rules are pending and which rules are fired

Can you set break points on the condition or action part in the CodeDom



Re: Windows Workflow Foundation Debug rules?

Kavita Kamani - MSFT

This is a different question, so I've split the thread...




Re: Windows Workflow Foundation Debug rules?

Kavita Kamani - MSFT

You can use Tracing and Tracking to debug rules. You cannot set breakpoints on the actions / conditions in WF V1, but you can use System.Diagnostics tracing and WF Tracking to get better visibility into rules execution. Moustafa has a nice write up on his blog about this - http://blogs.msdn.com/moustafa/archive/2006/08/05/689776.aspx. Scott Allen's book on WF also has a chapter on rules that talks about tracing and tracking.




Re: Windows Workflow Foundation Debug rules?

Acumen

Thanks Kavita,

I've put the enabled tracing on by default when we export the business rules from the Rule Manager to a Visual Studio Solution.

The default output of the trace is directed to the Output window in Visual studio.