Debug Class

Direct static references to the Debug class are no longer supported, but exist in deprecated form in the com.sybase.utils package.

Use SAP jConnect debugging facilities, use the getDebug method of the SybDriver class to obtain a reference to the Debug class. For example:
import com.sybase.jdbcx.SybDriver;
import com.sybase.jdbcx.Debug;
.
.
.
SybDriver sybDriver =
    SybDriver)Class.forName
    ("com.sybase.jdbc4.jdbc.SybDriver") newInstance();
Debug sybDebug = sybDriver.getDebug();
sybDebug.debug(true, "ALL", System.out);

A complete list of SAP jConnect extensions is in the SAP jConnect Javadoc documentation located in the docs/ directory of your SAP jConnect installation directory.