Adding a Watch

From Delphi for PHP Documentation Wiki

Jump to: navigation, search

Summary: Describes how to add a watch to track the values of program variables or expressions while debugging.


Add a watch to track the values of program variables or expressions as you step over or trace into code. Each time program execution pauses, the debugger evaluates all the items listed in the "Watch List" window and updates their displayed values. To add a watch

  • Choose Run Image:pathPDF.jpg Add Watch , or press  Ctrl+F5

to display the "Watch Properties" dialog box.

  • In the "Expression" field, enter the expression you want to watch.An expression consists of constants, variables, and values contained in data structures, combined with language operators. Almost anything you can use as the right side of an assignment operator can be used as a debugging expression, except for variables not accessible from the current execution point.
  • Click "OK".

The watch is added to the "Watch List" window.


[edit] See also

Overview of Debugging

Setting and Modifying Source Breakpoints

Displaying Expanded Watch Information

Personal tools