A breakpoint instructs the debugger to interrupt execution at a specified line. By default, a breakpoint applies to all connections.
With Sybase Central running in Debug mode, display the code where you want to set a breakpoint.
Click the line on which you want to insert a breakpoint
A cursor appears in the line where you clicked
Press F9 to set the breakpoint.
A red circle appears to the left of the line of code.
You can also double-click the grey column just to the left of the line of code to insert or remove a breakpoint.
With Sybase Central running in Debug mode, choose Debug > Breakpoints.
The Breakpoints dialog appears.
Click New.
The New Breakpoint dialog appears.
Choose a Procedure name from the dropdown list, and, optionally, enter values for Condition and Count.
The Condition is a SQL expression that must evaluate to true for the breakpoint to interrupt execution. For example, you can set a breakpoint to apply to a connection made by a specified user, by entering the following condition:
CURRENT USER = 'user-name'
The Count is a number of times the breakpoint is hit before it stops execution. A value of 0 means that the breakpoint always stops execution.
Click OK to set the breakpoint. The breakpoint is set on the first executable statement in the procedure.