Plug-In Debugging

There are two ways to debug your plug-in. The first, as shown in Table 25.1, is attaching the debugger to the host process, and the other is forcing the plug-in to call the debugger. For either of these methods, it is recommended to try them in a testing environment because these methods use Visual Studio and will interrupt all user activity with the server if you attempt to enable debugging in a production environment.

Table 25.1 Attaching Debugger to Host Process

image

Before trying any of these methods, you need to build your plug-in with Debug mode and put the PDB (project database) file generated by the compiler in the following ...

Get Microsoft Dynamics CRM 2011 Unleashed now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.