ASA Database Administration Guide
Automating Tasks Using Schedules and Events
Scheduling and event handling tasks
Debugging is a regular part of any software development. Event handlers can be debugged during the development process.
For more information on developing event handlers, see Developing event handlers.
For more information on using the debugger, see Debugging Logic in the Database.
To debug an event handler
Start the Adaptive Server Anywhere debugger.
From the Start menu, choose Programs
In the Connections window, double-click All Connections.
In the Procedures window, double-click the event you wish to debug. The event definition appears in the Source window.
In the Source window, 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.