Debugging workflows using workflow manager tools 1.0

Source: Internet
Author: User

Workflow manager tools 1.0 for Visual Studio 2012 provides support for debugging workflows during design-time. This topic provides instructions for debugging workflows in Visual Studio using workflow manager tools.

Debugging workflows using workflow manager tools 1.0 for Visual Studio 2012

The steps in this section describe how to start a debugging session, set breakpoints, and debug a workflow using workflow manager tools. for instructions on installing workflow manager tools, see workflow manager tools 1.0 for Visual Studio 2012 installation.

During a debugging session, the workflows being debugged are published to the workflow resource database.

    • If workflow manager is installed on the development machine, workflow manager tools configures the debugging tool to use the same database as workflow manager.
    • If workflow manager is not installed on the development machine, workflow manager tools creates a set of databases on the SQL Server installation that is created during Visual Studio 2012 installation. these databases have the same schema as the workflow manager databases.

Workflows published to the database during debugging sessions are not deleted and remain in the databases after the debugging session completes.

    • To start the debugging tool
    • To debug a Workflow


To start the debugging tool

    1. Open an elevated command prompt.
    2. Navigate to the installation directory for workflow manager tools.
      • X86:C: \ Program Files (x86) \ workflow manager tools \ 1.0
      • X64:C: \ Program Files \ workflow manager tools \ 1.0
    3. In the command prompt, runMicrosoft.workflow.testservicehost.exeAnd wait until the messages indicate loading is complete before debugging a workflow.

To debug a Workflow
    1. Add the desired breakpoints in your workflow. breakpoints can be added by right-clicking a workflow in the workflow designer and choosing breakpoint , insert breakpoint , or by selecting an activity in the workflow designer and pressing f9.
    2. attach the Visual Studio debugger to the microsoft.workflow.testservicehost.exe process by choosing attach to Process from the debug menu. choose microsoft.workflow.testservicehost.exe from the available processes list and click attach .
    3. press F5 to start debugging.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.