Library /sys$common/syshlp/DBG$HELP.HLB  —  DEBUG  SET  WATCH  Parameters
 address-expression

    Specifies an address expression (a program location) at which
    a watchpoint is to be set. With high-level languages, this is
    typically the name of a program variable and can include a path
    name to uniquely specify the variable. More generally, an address
    expression can also be a memory address or a register and can
    be composed of numbers (offsets) and symbols, as well as one or
    more operators, operands, or delimiters. For information about
    the operators that you can use in address expressions, see the
    Address_Expressions online help topic.

    Do not specify the asterisk (*)  wildcard character.

 conditional-expression

    Specifies a conditional expression in the currently set language;
    the expression is to be evaluated whenever execution reaches the
    watchpoint. (The debugger checks the syntax of the expressions in
    the WHEN clause when execution reaches the watchpoint, not when
    the watchpoint is set.) If the expression is true, the debugger
    reports that a watchpoint has been triggered. If an action (DO
    clause) is associated with the watchpoint, it will occur at this
    time. If the expression is false, a report is not issued, the
    commands specified by the DO clause (if one was specified) are
    not executed, and program execution is continued.

 command

    Specifies a debugger command to be executed as part of the DO
    clause when watch action is taken. The debugger checks the syntax
    of the commands in a DO clause when it executes the DO clause,
    not when the watchpoint is set.
Close Help