This topic describes how to change the debug stepping option for Windows Workflow Foundation (WF) applications in the legacy Windows 工作流程設計工具 that have concurrent actions. Use the legacy 工作流程設計工具 when you need to target either the .NET Framework version 3.5 or the .NET Framework 3.0.
When you are debugging legacy activities that have concurrent execution, such as ParallelActivity or ConditionedActivityGroup, you can use one of two options to step through your code.
Follow these steps to change the debug stepping option in your legacy workflow project.
Procedures
To change the debug stepping option
Start Visual Studio.
Open an existing legacy workflow project or create a new project that employs concurrent activities and that targets either the .NET Framework version 3.5 or the .NET Framework 3.0.
On the Workflow menu in the legacy 工作流程設計工具, point to Debug, and then point to Stepping Options.
Select either Instance or Branch.
另請參閱
概念
Debug Stepping Options (Legacy)