debug plugin issue? RRS feed

  • Question

  • Hello - I'm trying to debug a plugin.  I rebuild the solution, then I copy the plugins.dll and pdb to C:\Program Files\Microsoft Dynamics CRM\Server\bin\assembly. I also register the latest plugins.dll through the plugin registration tool.  

    Then I attach to process w3wp.exe(x64) and w3wp.exe(x86). I also attach to 2 CrmAsyncService.exe processes in the process list.

    However, the breakpoint in my plugin code is displayed as an empty circle with a tooltip that says: "The breakpoint will not currently be hit. The source code is different from the original version."

    In the past, I've seen the empty breakpoint circles, initially.  However, when the CRM app hit the code marked with a breakpoint, the breakpoint would light up and then get hit. This was in the past, for a different application. In my current setup, the breakpoints aren't getting set at all.

    So what steps can I take to troubleshoot the reason why I'm not able to get my cRM app hooked into the debugger?
    Friday, September 6, 2013 9:51 PM


  • Hi,

    Make sure that the build and the source are same, then after copying the dll in the cache, do IIS reset. Then check the CRM services has been started (for example browse CRM in IE). Finally you could attach to the process and put your breakpoints normally.

    My Weblog | My Website

    Saturday, September 7, 2013 4:31 AM

All replies