Search code examples
pluginsdynamics-crmdynamics-crm-2011crmvisual-studio-debugging

Debugging using CRM Development Kit


I just started using the included Development Kit that came with the CRM SDK. I created a simple plugin using the Development Kit and now I cannot find a way to debug the plugin. Before i started to use the Development Kit i was able to debug the plugins i created. I attached the debugger to the w3wp.exe process but the debugger doesnt break on the breakpoint at all. Moreover my assembly is registered on Database and with Isolation set to None Any help would be greatly appreciated. Thank you


Solution

  • I found out what the problem was. Turns out you have to re-deploy the plugin after setting the Assembly with Isolation set to None. Then like Chris Snyder said you still have to copy the PDB file from the debug folder to the bin/assembly folder on the CRM server. Seems like that step is still manual. Will see if I can either find a way to do it automatically or just create a simble batch file to do it. Thank you all for your help.