Sharing the experience search

Search sharing-the-experience.blogspot.com

Thursday, June 24, 2010

Code-based workflow: how to debug

A great article explains how to debug a code-based wf

To get a trace from WF engine change the web.config:

<system.diagnostics>
       <switches>
              <add name=System.Workflow LogToTraceListeners value=1 />
              <add name=System.Workflow.Runtime.Hosting value=All />
              <add name=System.Workflow.Runtime value=All />
              <add name=System.Workflow.Runtime.Tracking value=All />
              <add name=System.Workflow.Activities value=All />
       switches>
       <trace autoflush=true indentsize=4>
              <listeners>
                     <add name=customListener
               type=System.Diagnostics.TextWriterTraceListener
               initializeData=WFTrace.log />
              listeners>
       trace>
system.diagnostics>



No comments:

Post a Comment