Transaction tracing is started and stopped by calls to the
If transaction tracing is started while a transaction is active, only objects updated, created, and deleted after tracing is initiated are recorded. Exceptions are raised if the startTransactionTrace method is called when transaction tracing has already been started or the stopTransactionTrace method is called when transaction tracing has not been started.
The following code fragments start and stop transaction tracing.
process.startTransactionTrace; process.stopTransactionTrace;