Load source code into the debugger

The debugger looks for source code files. You need to make the $SYBASE/$SYBASE_ASE/sample/JavaSql/manual-examples/ subdirectory available to the debugger, so that the debugger can find source code for the class currently executing in the database.

To add a source code location to the debugger:

  1. From the Source window, select File→Source Path. The Source Path window displays.

  2. From the Source Path window, select Path→Add. Enter the following location into the text box:

    $SYBASE/$SYBASE_ASE/sample/JavaSql/
    			manual-	examples/
    

    The source code for the JDBCExamples class displays in the window, with the first line of the Query method serverMain( ) highlighted. The Java debugger has stopped execution of the code at this point.

    You can now close the Source Path window.