This documentation is archived and is not being maintained.

WorkflowDebuggerSteppingOption Enumeration

Specifies how the workflow debugger will step through concurrently executing child activities of a composite activity.

Namespace:  System.Workflow.Runtime.DebugEngine
Assembly:  System.Workflow.Runtime (in System.Workflow.Runtime.dll)

public enum WorkflowDebuggerSteppingOption

Member nameDescription
SequentialThe child activities will be debugged sequentially.
ConcurrentThe child activities will be debugged concurrently.

This enumeration is used with the WorkflowDebuggerSteppingAttribute attribute to define the following two behaviors:

  • Concurrent stepping. This mode of stepping enables you to step through and debug concurrently executing activities in the workflow. With this option, you will notice that a change in control occurs when concurrently executing activities run within the workflow.

  • Sequential stepping. This mode of stepping enables you to step through and debug a particular branch of a composite activity, such as the ParallelActivity or the ConditionedActivityGroup activity. When you use this option to debug, you will not notice that a change in control occurs due to concurrent execution of other activities in the workflow. The debugger only steps through the activities in the currently selected branch while other activities in the workflow may be executing concurrently. For example, by default, the leftmost branch in a ParallelActivity activity and the first child activity of a ConditionedActivityGroup activity are used for stepping. If you are interested in debugging any other branch or child activity, an explicit breakpoint must be placed on that branch or child activity. Stepping continues in that branch when the breakpoint is triggered.

Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

.NET Framework

Supported in: 3.5, 3.0