TSAPI Spy Trace Records

Last Updated : Aug 28, 2026 |
Prolog information
Trace records displayed in the Output window (or trace file) are separated by blank lines. Each begins with a time stamp and one of the following phrases which describes the record:
  • RECEIVED FROM APPLICATION - the application has generated a message to be delivered to the TSAPI Service. The message is displayed in detail.
  • RECEIVED FROM TSERVER - a message from the TSAPI Service has arrived in the client library receive queue. Notification only.
  • DELIVERED TO APPLICATION - the application has accepted the message from the client library. The message is displayed in detail.
  • FROM LIBRARY - the client library has generated an internal message to be delivered to the TSAPI Service. The message is displayed in detail.
  • FOR LIBRARY - the client library has accepted an internal message from the TSAPI Service. The message is displayed in detail.
A typical request from an application generates three trace records, in the following sequence: RECEIVED FROM APPLICATION, RECEIVED FROM TSERVER, DELIVERED TO APPLICATION. An event report from the TSAPI Service generates only the latter two records. Trace records from multiple messages may be interleaved.