远程调试工作流服务 [英] Remote debuging of Workflow service
问题描述
大家好,
我有开发机(ouside域),在其中创建了简单的Workflow服务.然后将服务部署到其他服务器(域内).可以.我想在远程计算机上调试此服务,因此我已设置VS 2010远程调试器并分配给远程计算机上的进程w3wp.exe.我的问题是,如果在我的xamlx文件中放置刹车点,它们将永远不会触发,但是,当我将自定义活动添加到工作流程并将刹车点放置到该活动代码中时,该刹车点将起作用.我在localhost上尝试了此方法,它同时在工作流和自定义活动中触发.
I have development machine (ouside domain) where I've created simple Workflow service. Then service was deployed to other server (inside domain). It works ok. I wanted to debug this service on remote machine so I've setted up the VS 2010 Remote Debuger and assign to process w3wp.exe on remote machine. My problem is that if I place a brake points in my xamlx file, they are never fired, however when I add the custom activity to the workflow and place brakepoint to the code of this activity it works. I tried this on localhost and it was firing both in workflows and custom activities.
我缺少一些信息吗?
感谢帮助
推荐答案
我经常在代码中使用System.Diagnostics.Debugger.Break()手动戳调试器.这将弹出一个对话框,允许您打开另一个VS来调试项目.不要忘记之后将其关闭.我经常发现自己正在开发代码.
I often use System.Diagnostics.Debugger.Break() in my code to poke the debugger manually. This will pop up a dialog, allowing you to open another VS to debug your project. Don't forget to close it afterwards tho. I often find myself coding in the devenev.
我希望这可以为您提供帮助:)
I hope this can help you :)
这篇关于远程调试工作流服务的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!