About the Database Trace tool
Contents
The Database Trace tool records the internal commands that
PowerBuilder executes while accessing a database. You can trace a
database connection in the development environment or in a PowerBuilder
application that connects to a database.
PowerBuilder writes the output of Database Trace to a log file
named DBTRACE.LOG (by default) or to a nondefault log file that you
specify. When you enable database tracing for the first time,
PowerBuilder creates the log file on your computer. Tracing continues
until you disconnect from the database.
Using the Database Trace tool with one connection
You can use the Database Trace tool for only one DBMS at a time
and for one database connection at a time.
For example, if your application connects to both an ODBC data
source and an Adaptive Server Enterprise database, you can trace
either the ODBC connection or the Adaptive Server Enterprise
connection, but not both connections at the same time.