Enabling debugging

Table 2-36 lists the keywords for configuring the debugging options for a connection.

Table 2-36: Configuration file keywords for debugging options

Keyword

Value

CS_DBG_FILE

A character string specifying the destination file name for text-format debugging information.

CS_DBG_PROTOCOL_FILE

This ct_debug parameter may be set without devlib libraries. If the parameter is not set on connection, mktemp is called, generating a unique file name to dump the protocol packets into. The prefix string passed to mkstemp is capture. Ribo can decode the resulting protocol file.

CS_PROTOCOL_FILE

A character string specifying the destination file name for binary format debugging information.

CS_DEBUG

A character string giving a comma-separated list of debug flags.

CS_DEBUG specifies the data to be written to the file CS_DBG_FILE. Its value can be a list of flags that correspond to the bitmasks for ct_debug’s flag parameter. For meanings of these debug flags, see “ct_debug” on page 442.

The possible flags are: