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

SAP Sybase SQL Anywhere 16.0 » SQL Anywhere Server - Database Administration » Database maintenance » Task automation using schedules and events » Event handlers

 

Debugging an event handler

You can debug an event handler using Sybase Central.

Prerequisites

You must have the DEBUG ANY PROCEDURE system privilege.

 Task
  1. In Sybase Central, use the SQL Anywhere 16 plug-in to connect to the database.

  2. Click Mode » Debug.

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

  4. In the right pane, double-click the event you want to debug.

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

Results

Trigger the event handler using the TRIGGER EVENT statement. The execution stops at the breakpoint you set.

 See also