Debugging is a regular part of any software development. Event handlers can be debugged during the development process.
Start Sybase Central.
From the Start menu, choose Programs > SQL Anywhere 10 > Sybase Central.
Connect to your database.
Change to Debug mode by choosing Mode > Debug.
The Debugger Details pane appears at the bottom of the Sybase Central main window.
In the Folders pane, open the Events folder.
Double-click the event you want to debug.
On the SQL tab in the right pane, click the left margin beside the line where you want to add a breakpoint. A red stop signs appears, to indicate that a breakpoint has been set. Alternatively, you can press F9 to set a breakpoint.
From Interactive SQL or another application, trigger the event handler using the TRIGGER EVENT statement.
The execution stops at the breakpoint you have set. You can now use the debugger features to trace execution, local variables, and so on.