|
When you open Debug, the Select Script window displays. The name of the windows in the current application are displayed in the Name box. A list of controls in the window that have scripts and the event that triggers each script displays in the Objects box.
To debug an application-level, menu-level, or user object-level script, or the script for a user-defined function, select the appropriate type from the list in the drop-down list box. After you select the type of script you want to debug, PowerBuilder updates the lists in the Select Script window. If you selected Function, the function names display in the Name box and the Objects box is blank.
To select an object script:
Double-click the script in the Objects box or click the script and then click OK. The selected script displays in the Debug workspace.
To select a user-defined function script:
Double-click the name of the function in the Name box or click the name and then click OK. The selected script displays in the Debug workspace.
TIP: In the Debug workspace, you can select another script to debug by clicking the Select Script Icon in the toolbox or select Select Script from the Debug Menu. The Select Script window displays.
|