You can examine the sequence of calls that has been made when you are debugging nested procedures. You can view a listing of the procedures on the Call Stack tab.
Prerequisites
You must have the SA_DEBUG system role.
Additionally, you must have the EXECUTE ANY PROCEDURE system privilege or EXECUTE privilege on the procedure.
In Sybase Central, use the SQL Anywhere 16 plug-in to connect to the database.
Click Mode » Debug.
In the Which User Would You Like To Debug field, type * to debug all users, or type the name of the database user you want to debug.
In the left pane, double-click Procedures & Functions and select a procedure.
In the right pane, click the line where you want to insert the breakpoint.
A cursor appears in the line where you clicked.
Press F9.
A red circle appears to the left of the line of code.
In the Debugger Details pane, click the Local tab.
In the left pane, right-click the procedure and click Execute From Interactive SQL.
In the Debugger Details pane, click the Call Stack tab.
![]() |
Discuss this page in DocCommentXchange.
|
Copyright © 2014, SAP AG or an SAP affiliate company. - SAP Sybase SQL Anywhere 16.0 |