domingo, 4 de dezembro de 2011

Debbuging a Plug-In

Make changes / corrections needed, compile and register the plug-in.
Run the Dynamics CRM.
Attach the debugger to the process in Microsoft Dynamics CRM server that will run the plug-in, according to the register configuration of the plug-in, as follows:

          Registration Process                       Configuration
on-line                                              w3wp.exe
offline                                               Microsoft.Crm.Application.Hoster.exe
assíncrona                                        CrmAsyncService.exe
sandbox                                            Microsoft.Crm.Sandbox.WorkerProcess.exe
If there are multiple processes running, for example, multiple w3wp.exe processes, attach the debugger to all instances of the running process.
fig01_thumb2

fig02_thumb

Set one or more breakpoints in your code.

fig04_thumb

Make operations (add / change), Accounts. The application should stop at the desired point.

fig03_thumb

Seja o primeiro a comentar 0 comentários

Postar um comentário

Arquivo do blog

Números de Visitas

  

TOPO