Using the Sybase Java debugger, you can:
Trace execution – Step line by line through the code of a class running in the database. You can also look up and down the stack of functions that have been called.
Set breakpoints – Run the code until you hit a breakpoint, and stop at that point in the code.
Set break conditions – Breakpoints include lines of code, but you can also specify conditions when the code is to break. For example, you can stop at a line the tenth time it is executed, or only if a variable has a particular value. You can also stop whenever a particular exception is thrown in the Java application.
Browse classes – You can browse through the classes installed into the database that the server is currently using.
Inspect and set variables – You can inspect the values of variables alter their value when the execution is stopped at a breakpoint.
Inspect and break on expressions – You can inspect the value of a wide variety of expressions.