Watching class member Variables

From m204wiki
Jump to navigation Jump to search

In much the same way as for ordinary %variables, you can use the Client's watch or display facilities for viewing class member Variables (that is, a variable that is a member of a class, not an instance of a class). If you right click a code line that is outside the definition of the class, and you use the Add Watch or Display options, the Client shows the class Variable and the object to which it is applied in the Watch Window or the Value window's title.

If you choose to add the Variable to the Watch Window by first specifying it in the text box above the Watch Window, you must precede the Variable name by the object variable to which it is applied.

The Client also has a related feature that lets you display at once the names and current values of all the Variables in a given class.

See Also:

Displaying all Variables of an object's class