The Tracing tab of the Administrator dialog box enables you to configure the way ODBC function calls are traced.
Note The Trace ODBC Calls box in the Tracing tab does not take precedence over the ODBC Test Tools menu Trace command. For more information, see “ODBC Test Overview.”
When you activate tracing from the Tracing tab, the Driver Manager will log all ODBC function calls for all subsequently run applications. ODBC function calls from applications running before tracing is activated are not logged. ODBC function calls are recorded in a log file you specify.
Tracing ceases only after you click Stop Tracing Now. Keep in mind that while tracing is on, the log file continues to increase in size, and that this affects the performance of your ODBC applications.
For more information about tracing, see “Tracing” in Chapter 17, “Programming Considerations,” in the ODBC Programmer’s Reference.
To enable tracing
The Administrator dialog box closes.
Note If tracing was enabled in the When To Trace control of the Tracing tab, all ODBC applications that you run after you close the Data Sources dialog box will have all ODBC function calls appended to the file you selected. If tracing was enabled with the Start Tracing Now button, tracing ends when the Administrator dialog box is closed.
To disable tracing
Visual Studio™ Analyzer Tracing provides performance and debugging information about the ODBC layer. All outbound events will be fired at the top-level interface to present as accurate a picture as possible regarding time spent in ODBC components. Visual Studio Analyzer Tracing requires any event source to register when the source is set up. For more information about this type of tracing, see the white paper “ODBC 3.7 Visual Studio Analyzer Events
" within Microsoft Data Access Technical Articles.
To enable Visual Studio Analyzer Tracing
After it is clicked, the Start Visual Studio Analyzer Tracing button is replaced by a Stop Visual Studio Analyzer Tracing button, which can be used to disable the tracing.
Ignore the Log File Path text box. The path and file name of the log file are irrelevant because events are written to the Visual Studio Analyzer.
To disable Visual Studio Analyzer Tracing
After you click the Stop Visual Studio Analyzer Tracing button, it is replaced by a Start Visual Studio Analyzer Tracing button, which you can use to enable tracing.