Article ID: 934067 - View products that this article applies to.
Important This article contains information about how to modify the registry. Make sure that you back up the registry before you modify it. Make sure that you know how to restore the registry if a problem occurs. For more information about how to back up, restore, and modify the registry, click the following article number to view the article in the Microsoft Knowledge Base:
(https://support.microsoft.com/kb/256986/ )Description of the Microsoft Windows registry
This article describes how to enable tracing in Microsoft Visual Studio 2005 Team Edition for Database Professionals.
To enable tracing in Visual Studio 2005 Team Edition for Database Professionals, you must enable the
HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\9.0\DBPro\Tracingregistry key. To do this, follow these steps. Warning Serious problems might occur if you modify the registry incorrectly by using Registry Editor or by using another method. These problems might require that you reinstall the operating system. Microsoft cannot guarantee that these problems can be solved. Modify the registry at your own risk.
TraceSwitchThe TraceSwitch option is a trace filter that has the following settings.
Collapse this tableExpand this table
EventIdsToTraceVisual Studio 2005 Team Edition for Database Professionals has multiple subareas. Each area of the product is assigned an Event ID in an exponential series. For example, the Event IDs may resemble the following:
1, 2, 4, 8
LogDirThe LogDir option is the location where the output from a trace will go. You can use environment variables in the LogDir string.
UniqueLogFileIf the UniqueLogFile option is set to true, every session of Visual Studio 2005 will create a new log file. This will only occur if the TraceToLogFile option set to true. The name of the log file is determined by the algorithm itself.
Article ID: 934067 - Last Review: April 19, 2007 - Revision: 1.1