Contents Index Lesson 1: Connect to a database and start the debugger Lesson 2: Debug a stored procedure

ASA SQL User's Guide
  Debugging Logic in the Database
    Tutorial: Getting started with the debugger
      Lesson 1: Connect to a database and start the debugger

Start the debugger

To start the debugger

  1. Start Sybase Central:

    Choose Start > Programs > SQL Anywhere 9 > Sybase Central.

  2. Connect to the database.

    In this tutorial, you connect to the Adaptive Server Anywhere sample database.

    1. In the left pane, right click Adaptive Server Anywhere and choose Connect from the popup menu.

      The connection dialog appears.

  3. Choose Debug mode.

    Sybase Central can be used in Design mode or Debug mode. When running in Debug mode, debugger breakpoints are active. Also, Sybase Central shows debugging menus and a Debugger Details pane.

    To choose Debug mode, click Task > Debug. The Debugger Details pane appears at the bottom of Sybase Central and the Adaptive Server Anywhere toolbar displays a set of debugger tools.

    The Debugger Details pane

Contents Index Lesson 1: Connect to a database and start the debugger Lesson 2: Debug a stored procedure