Watches Window

From RadPHP XE2 Documentation
Jump to: navigation, search

View PathPDF.jpg Debug Windows PathPDF.jpg Watches

The "Watches" window displays the current value of the watch expression based on the scope of the execution point.

Tip:

To enable or disable a watch expression quickly, use the check box next to the watch.

Item Description
Watch Name Shows the expression entered as a watch.
Value Lists the current value of the expression entered.

This window allows you to view the value of a variable

Watches.png

Watch history is stored on the registry and retrieved when loading the IDE, so all watches are in the combo. A variable can be a simple string/integer variable or a more complex one, like objects or arrays, a complex variable is represented by a tree in the Watch window, in which each element is shown independently.

This window must be updated when stepping through the code showing the latest values taken by the variables, if a variable is not defined in the scope the program is stopped, must show a string reflecting this state.

Watch properties.png

Personal tools