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

SQL Anywhere 12.0.0 (Français) » 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. Use the SQL Anywhere 12 plug-in to connect to the database as a user with DBA authority.

    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