问题
Guess the title asks the Q really. I want to see what's going on on a step-by-step basis for the build process that I've inherited.
I've only just started to play with WF and whilst I understand it is possible to debug a workflow I've really no idea how to go about it in this instance.
回答1:
You can debug everything, starting from custom WorkflowServiceHost (if you have one), particular code-based activities, xaml based activities, up to activity designer surface.
I believe the biggest question for you is how to debug a visual components? On the designer surface, you can place a breakpoint on activity you want to debug, and once the activity is reached, process will halt and wait for you to continue. Then just proceed as usual, nothing much different than regular debugging.
来源:https://stackoverflow.com/questions/18829574/is-it-possible-to-debug-the-wf-used-to-build-in-vs2012