Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.

SQL Anywhere 11.0.0 » SQL Anywhere Server - Database Administration » Maintaining Your Database » Automating tasks using schedules and events » Event handling tasks


Debugging an event handler

Debugging is a regular part of any software development. Event handlers can be debugged during the development process.

To debug an event handler (Sybase Central)

  1. Connect to the database as a user with DBA authority.

  2. From the Mode menu, choose Debug.

  3. In the left pane, double-click Events.

  4. Double-click the event you want to debug.

  5. On the SQL tab in the right pane, press F9 to set a breakpoint.

  6. From Interactive SQL or another application, trigger the event handler using the TRIGGER EVENT statement.

  7. The execution stops at the breakpoint you set.

See also