How to: Enable Diagnostic Messages for the SharePoint Development Tools in Visual Studio 2010
Published: April 2011
This topic explains how to enable more verbose diagnostic messages, including a stack trace, for the SharePoint development tools in Microsoft Visual Studio 2010.
The additional diagnostic message will appear in the Output window of Visual Studio. Any messages in the Error List window are the same regardless of whether you carry out this procedure.
To enable diagnostics for the SharePoint development tools in Visual Studio 2010
Open the registry on your development computer and navigate to HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\10.0\SharePointTools.
Right-click SharePointTools, select New, and then select DWORD (32-bit) Value.
Name the new value EnableDiagnostics. (You must use exactly this term.)
After the value is created, right-click it and select Modify.
In the Edit dialog box, change Value data to 1.
Click OK, and then close the registry.