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

2020-03-25 04:27发布

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条回答
Deceive 欺骗
2楼-- · 2020-03-25 05:06

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.

查看更多
登录 后发表回答