Previous Topic: Multi-User Diagram Trace Utility SupportNext Topic: Regenerating Remote Files After Testing


Override the Default Trace Environment Variables

A client transaction can transfer the host and port of the client that is executing the transaction. By providing this additional information, the server can establish communication with the Diagram Trace Utility running on that client workstation.

Follow these steps:

  1. Build the Proxy server application that has been generated with trace.
  2. Leave the trace environment variables within the application.ini file that is located in the server application's model directory commented out.
  3. Edit the commcfg.ini file in order to communicate with your remote Proxy servers.
  4. Invoke the Diagram Trace Utility on your client workstation.
  5. Set the trace environment variables in the command window (for Windows) or the terminal session (for UNIX) in which you will be invoking your Proxy client:

    These environment variables are picked up by the Proxy client and sent to the Proxy server.

  6. Execute your Proxy client application.

    The Diagram Trace Utility on the client workstation will be used to trace the Proxy server for each transaction initiated from that client.