debugger not working? RRS feed

  • Question

  • Hello - I have an application that's been in place for a few months. For some reason, my CRM Plugins module is no longer loading as part of the debug process. Breakpoints are empty, and display the following error message:

    "The breakpoint will not currently be hit. No symbols have been loaded for this document."

    I'm following the standard deployment/debug process that I always do.  Taking 1 step back from this issue, all modules in process for debug can be viewed in debug mode at the following path:  Debug > Windows > Modules

    I don't see my plugins assembly listed in this view.  I'm assuming that I should.  Can you please check this out in your CRM environment, and validate that this is the expected behavior?   If my plugins assembly is not displayed in this view, there must be a logical explanation for this, and some way to fix?  Have you encountered this behavior before, and if so, then can you explain how to fix?

    Thursday, October 17, 2013 9:16 PM

All replies

  • Hi Please check following things: 1) is the. Application you are trying to debug on the same machine or remote machine? 2) what version of CRM you are using. 3) Is the plugin registered in the database or hard drive location? 4) is the source code different than the dll version? Any of these could be a reason for the behavoir. Minal
    Thursday, October 17, 2013 9:27 PM
  • Hi Minal:

    1.  The application is on the same machine.
    2.  Version = CRM 2011
    3.  Plugin registered in database
    4.  The dll in the CRM assembly folder is the latest dll as it exists in the plugin .net solution

    Thursday, October 17, 2013 9:33 PM
  • Hi Please register the plugin in the disk and then try debugging. Here is the mind article for the detailed steps. You can register the plugin in database after debugging. http://msdn.microsoft.com/en-us/library/gg328574.aspx Minal
    Thursday, October 17, 2013 9:38 PM
  • I tried to register the plugin on Disk instead of in Database, but I'm seeing the exact same behavior?

    I even unregistered, then re-registered the plugin, but this didn't make a difference either?

    Next steps?

    Thursday, October 17, 2013 10:19 PM
  • @Minal - Can you please verify that, when you're in debug mode, you see your registered plugins at the following location?:

    Debug > Windows > Modules

    Understanding this behavior, should give me a simple pass/fail test, that my plugins exist in the debug process, as expected?

    Thursday, October 17, 2013 10:31 PM
  • Hi,

    Are you using Plugin Registration Tool to debug your plugin? If not, then give it a try. Its very easy to use (with screenshots) and effective way of debugging a plugin. 



    If this post answers your question, please click "Mark As Answer" on the post and "Mark as Helpful" Thanks, Imran Abbasi

    Thursday, October 17, 2013 10:58 PM
  • Hi,

        The plugin needs to be in <installdir>\Program Files\Microsoft CRM\server\bin\assembly folder. Refer to following article for more details:


    Hope this helps.
     Minal Dahiya
    blog : http://minaldahiya.blogspot.com.au/

    If this post answers your question, please click "Mark As Answer" on the post and "Vote as Helpful"

    Friday, October 18, 2013 12:20 AM