Using the Redirector :: The Port Monitor

The Trace Panel

The Trace panel provides a detailed, time-stamped, real-time display of all Serial/IP COM ports operations. When enabled, the display is updated every one second.

This feature is typically used to debug application problems. Because the Trace feature has some impact on memory usage and system performance, it is typically only enabled temporarily.

The data that appears in the Trace panel can be copied to the clipboard or saved to a file for off-line analysis.

 Using the Trace display

  1. Open a new Port Monitor window. details

  2. Click the Trace tab. The display area will initially be blank.

  3. Select the check box Enable Trace.

  4. Begin application operation that uses Serial/IP COM ports.

  5. Recreate the problem condition that you are debugging.  

  6. To save the trace data to a file for off-line analysis, use the File / Save As menu command. This file uses a binary format that preserves all data and can be opened later in a Trace window using the File / Open menu command.

  7. To capture the trace data in text format to the Windows clipboard, use the Edit / Copy menu command. The text then can be pasted into other Windows applications.

 Configuring the Trace panel

Using the Trace Options menu

Event messages

The Trace display shows one event per line, in time order.  Every event begins with a time tag.

Transmit events
Receive events
Control events

 Notes

The Trace display covers up to 512k bytes of event data, enough to cover a reasonably extensive tracing session.  If the limit is reached, the trace clears and starts over.

  Related Topics

Using the Port Monitor

The Activity Panel