The Debug Menu

Use the Debug menu options to test your completed script on a local or remote Cisco Unified CCX Engine .

Debug Menu Options

Option

Description

Start/Continue

Runs the current script in debug mode.

Break

Stops the script to allow you to view or change the current values of variables and step properties before resuming execution.

End

Ends the current script.

Step Over

Executes one step.

Evaluate

Use the Evalute option to evaluate an expression in the current context of execution during the debug run.

You may press the Evaluate button at any time during active/ reactive debugging. This will open a window similar to the Expression Editor. specify the expression to be evaluated in the Value tab. The expression may also contain any variables used in the script.

When you slect the Evaluate option, the expression is evaluated using the current value for the variables as they stand, (till the current point of execution) and the result is displayed in the Result tab.

Insert/Remove Breakpoint

Inserts a breakpoint at the currently selected step. This insertion causes the script to halt whenever it runs in debug mode, but it does not affect the run-time version of the script.

Enable/Disable Breakpoint

Toggles the selected breakpoint on or off.

Clear All Breakpoints

Removes all breakpoints from the script.

Reactive Script

Prompts for the name and timeout setting of the event-triggered script to be debugged.

Pending Response

Displays a list of all reactive scripts that have been registered but not yet started. (This allows you to see what reactive debugging requests are still pending.)