DBG$HELP.HLB  —  DEBUG  SHOW  WATCH
    Displays information about watchpoints.

    Format

      SHOW WATCH

1  –  Description

    The SHOW WATCH command displays information about watchpoints
    that are currently set, including any options such as WHEN or DO
    clauses, /AFTER counts, and so on, and whether the watchpoints
    are deactivated.

    If you established a watchpoint using SET WATCH/AFTER:n, the SHOW
    WATCH command displays the current value of the decimal integer
    n, that is, the originally specified integer value minus 1 for
    each time the watchpoint location was reached. (The debugger
    decrements n each time the watchpoint location is reached until
    the value of n is 0, at which time the debugger takes watch
    action.)

    Related commands:

       (ACTIVATE,CANCEL,DEACTIVATE,SET) WATCH

2  –  Example

  DBG> SHOW WATCH
  watchpoint of MAIN\X
  watchpoint of SUB2\TABLE+20
  DBG>

      This command displays two watchpoints: one at the variable
      X (defined in module MAIN), and the other at the location
      SUB2\TABLE+20 (20 bytes beyond the address denoted by the
      address expression TABLE).
Close Help