Is it possible to debug the WF used to build in VS2012?

橙三吉。 提交于 2019-12-24 13:38:57

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!