Is it possible to place an org in it's own process

匿名 (未验证) 提交于 2019-12-03 02:26:02

问题:

So we have 2 Orgs in our dev CRM environment. Both orgs are using the same worker process (w3wp.exe). So whenever one developer hits a breakpoint in a plugin it locks the process and both orgs stop responding.

My question is.. is it possible to put each org in its own process?

回答1:

I don't think that is possible. However, the newest SDK has a new feature in the Plugin Tool that lets you debug plugins locally. Basically, you enable "Profiling" for your plugin through the tool, then go do the action in CRM that would normally fire your plugin. You'll get a pop-up exception, at which point you "Download Log." It is a big base-64 encoded text file. Then, you go back into Plugin Registration tool and click the Debug button, supply your download log file, attach Visual Studio to the Plugin Tool, and then click Start. The Plugin Tool uses the log file to completely recreate the Context that would normally be passed into your plugin, and since Visual Studio is attached to the Plugin Tool, your breakpoints are hit like normal.



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