Remote Debugging RRS feed

  • Question

  • I am trying to do remote debugging (through vpn) of my plugin. As I understand I need to do the following:

    1) Register/Update my plugin with the OnDisk option
    2) Copy pdb file into plugin folder on server
    3) Call msvsmon on the development machine pointing to the server
    4) From VS2008 attach to the process

    Is this correct? I am actually having issues with 1). I use Disk and registration is successful but there is no dll in C:\Program Files\Microsoft Dynamics CRM\Server\bin\assembly. Btw, the plugin registration tool says "Server\assembly\bin", i.e. the directories are reversed. Could this be the issue?

    On 2) do I really need to manually copy the pdb file from my development machine to the remote server?


    Saturday, July 10, 2010 7:03 PM


  • Hi

    1) This is wrong in the plugin registration tool. The correct Path for your dll and your pdb is

    "C:\Program Files\Microsoft Dynamics CRM\Server\bin\assembly"

    2) Yes you have to copy the pdb file to use debuging. For full debuging function you should build your dll in debug not in release mode





    Wednesday, August 18, 2010 11:05 AM