- Requirements
- Before attempting this tutorial, you must complete the following tutorials in the order listed:
- Tutorial: Create a SQL Server Database
- Tutorial: Create and Configure
an Eclipse Project
- Tutorial: Set OpenESQL Assistant Configuration Options
- Tutorial: Catalog a Connection
- Tutorial: Build and Test a Query
- Tutorial: Generate and Embed an SQL Program
- Tutorial: Provide Additional Code
- Add a Break Point
- The program sends output to the console, and you want the application to pause at a point where you can see the output.
- In the COBOL Editor, scroll down to the following statement:
EXEC SQL DISCONNECT CURRENT END-EXEC
- Click the statement.
- In the gray area to the left of the statement, double click to toggle a break point.
- Debug the Application
-
- Click
Run > Debug to start debugging.
Note: If prompted to switch to the Debug perspective, click
Switch.
- Select either
Step Into (F5,
) or
Step Over (F6,
) to execute statements until you get to your break point.
- If the console is not visible, minimize
the Eclipse IDE. You should see the console output.
- Click
Step Over (F6,
) to complete the debugging process.
This completes the OpenESQL Assistant tutorials.