How to see workflow variables when debugging WF 4 Workflow Service

How can I see the current value of workflow variables when debugging the WF 4 Workflow Service (hosted in IIS 7.5 / AppFabric)?

I connect Visual Studio 2010 to w3wp.exe, but when the breakpoint in activity hits, only the following parameters are displayed in the Locals debug window:

  • isPriming
  • typeIslandArguments
  • DebugInfo

An attempt to add a workflow variable manually to the Look results in the Name xyz does not exist in the current context.

Am I doing something wrong? My environment is messed up (on a computer running Windows Server 2008 R2 with installed version of VS 2010 and VS 11), is it possible that VS 11 broke something?)

Any ideas?

+5
source share
3 answers

You can see the values ​​of variables and much more with the built-in IIS management console. Since @Vivek stated that you can also create your own tracking mechanism, but that doesn't look like what you need here.

Essentially, you just need to translate the log a little to make it more diagnostic, and you can see this information about the current workflows running in AppFabric.

+2
source

Whether your requirement is to do value analysis for a specific variable, then you can also use your own tracking.

0
source

, Visual Studio.

- > - > VS 20XX- >

The problem was probably caused by the installation order of appfabric, vs applications and additional tools. More information can be found here .

0
source

All Articles