Skip to Content
Microsoft Dynamics CRM 2011 Unleashed
book

Microsoft Dynamics CRM 2011 Unleashed

by Marc Wolenik, Damian Sinay, Rajya Bhaiya
September 2011
Intermediate to advanced content levelIntermediate to advanced
1008 pages
24h 27m
English
Sams
Content preview from Microsoft Dynamics CRM 2011 Unleashed

Forcing the Add-In to Call the Debugger

To force CRM to call the debugger, you must add a line similar to the following in your add-in source code where you want to call the debugger:

System.Diagnostics.Debugger.Launch();

Assuming you registered a plug-in with a step associated to the Account entity on the Create event (as our example did), when you go the CRM web application and try to create a new Account, you will see the dialog shown on Figure 25.37 after you click the Save or Save and Close buttons on the Account form.

Figure 25.37 Visual Studio just-in-time debugger.

image

Click Yes to open a new instance of Microsoft Visual Studio 2010, and you ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Microsoft Dynamics CRM 2013 Unleashed

Microsoft Dynamics CRM 2013 Unleashed

Marc Wolenik
Microsoft Dynamics® CRM 2011 Step by Step

Microsoft Dynamics® CRM 2011 Step by Step

Jim Steger Mike Snyder and Brendan Landers

Publisher Resources

ISBN: 9780132682084Purchase book