The following table lists the keywords for configuring the debugging options for a connection.
The CS_DBG_FILE keyword specifies the name of the file to which Client-Library writes text-format debug information. Client-Library only records the debug information that is requested.
Debug information is requested with the other keywords. These correspond to the bitmasks for the ct_debug flag parameter. For meanings of these debug flags, see the reference page for ct_debug.
Keyword |
Legal value |
---|---|
CS_DBG_FILE |
A character string specifying the file name for text-format debugging information |
CS_DEBUG |
A character string giving a comma-delimited list of debug flags |
CS_PROTOCOL_FILE |
A character string specifying the destination file name for binary-format debugging information |
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 the reference page for ct_debug in the Open Client Client-Library/C Reference Manual.
The possible flags are:
CS_DBG_ALL
CS_DBG_API_LOGCALL
CS_DBG_API_STATES
CS_DBG_ASYNC
CS_DBG_DIAG
CS_DBG_ERROR
CS_DBG_MEM
CS_DBG_NETWORK
CS_DBG_PROTOCOL
CS_DBG_PROTOCOL_STATES