Database Debug extends the Eclipse Debug perspective with extra views.
From the Eclipse Workbench toolbar, select Window|Open Perspective|Other.
Select Database Debug from the menu.
The Database Debug perspective opens. Several views will appear. These include:
In the upper-left corner of the screen is the Debug view, which allows you to track the execution of code, show the stack trace, and follow debug features such as step in, step over, and so on.
In the upper-right corner of the screen there are two tabs: Variables and Breakpoints. Variables view allows you to view and set local variable values. Breakpoints view allows you to set, unset, enable and disable breakpoints.
In the center of the screen is the SQL Editor, which displays the SQL code to be debugged. A small circle with a red X indicates a line that has syntax errors. Move the pointer over any one of these indicators to display available syntax choices. Similarly, a small red rectangle on the right of the view indicates an error and shows available syntax choices when the cursor is placed over it.
The Outline view displays the high-level structure of a stored procedure.
SQL Results view displays the outcome of running any type of procedural object.
Additional views, such as the Database Explorer, can be added to the Debug perspective.
Add views by selecting Window|Show View and selecting the view from the menu.
Send your feedback on this help topic to Sybase Tech Pubs: pubs@sybase.com