Add conditions to breakpoints to instruct the debugger to interrupt execution at that breakpoint only when a certain condition or count is satisfied. For procedures and triggers, the condition must be a SQL search condition.
Prerequisites
You must have the SA_DEBUG system role.
In Sybase Central, use the SQL Anywhere 16 plug-in to connect to the database.
Click Mode » Debug.
In the left pane, double-click Procedures & Functions and select a procedure.
Click Debug » Breakpoints.
Select the breakpoint you want to edit and then click Edit.
In the Condition list, click a condition. For example, to set the breakpoint so that it applies only to connections from a specific user ID, enter the following condition:
CURRENT USER='user-name' |
In this condition, user-name is the user ID for which the breakpoint is to be active.
Click OK and then click Close.
![]() |
Discuss this page in DocCommentXchange.
|
Copyright © 2014, SAP AG or an SAP affiliate company. - SAP Sybase SQL Anywhere 16.0 |