DBG$HELP.HLB  —  DEBUG  SHOW
program. The tracepoint on program activation triggers whenever a new process comes under debugger control. The DO clause creates a process-specific source display named SRC_n and a process-specific instruction display named INST_n whenever a process activation tracepoint is triggered. The tracepoint on program termination triggers whenever a process does an image exit.

32  –  TYPE

    Identifies the current type for program locations that do not
    have a compiler-generated type or, if you specify /OVERRIDE, the
    current override type.

    Format

      SHOW TYPE

32.1  –  Qualifiers

32.1.1    /OVERRIDE

    Identifies the current override type.

32.2  –  Description

    The current type for program locations that do not have a
    compiler-generated type is the type last established by the SET
    TYPE command. If you did not enter a SET TYPE command, the type
    for those locations is longword integer.

    The current override type for all program locations is the
    override type last established by the SET TYPE/OVERRIDE command.
    If you did not enter a SET TYPE/OVERRIDE command, the override
    type is "none".

    Related commands:

       CANCEL TYPE/OVERRIDE
       DEPOSIT
       EXAMINE
       (SET,SHOW,CANCEL) MODE
       (SET,SHOW,CANCEL) RADIX
       SET TYPE

32.3  –  Examples

    1.DBG> SET TYPE QUADWORD
      DBG> SHOW TYPE
      type: quadword integer
      DBG>

      In this example, you set the type to quadword for locations
      that do not have a compiler-generated type. The SHOW TYPE
      command displays the current default type for those locations
      as quadword integer. This means that the debugger interprets
      and displays entities at those locations as quadword integers
      unless you specify otherwise (for example with a type qualifier
      on the EXAMINE command).

    2.DBG> SHOW TYPE/OVERRIDE
      type/override: none
      DBG>

      This command indicates that no override type has been defined.

33  –  WATCH

    Displays information about watchpoints.

    Format

      SHOW WATCH

33.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

33.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).

34  –  WINDOW

    Identifies the name and screen position of predefined and
    user-defined screen-mode windows.

                                   NOTE

       This command is not available in the VSI DECwindows Motif for
       OpenVMS user interface to the debugger.

    Format

      SHOW WINDOW  [window-name[, . . . ]]

34.1  –  Parameters

 windowname

    Specifies the name of a screen window definition. If you do not
    specify a name, or if you specify the asterisk (*)  wildcard
    character by itself, all window definitions are listed. You can
    use the wildcard within a window name. Do not specify a window
    definition name with the /ALL qualifier.

34.2  –  Qualifiers

34.2.1    /ALL

    Lists all window definitions.

34.3  –  Description

    Related commands:

       (SHOW,CANCEL) DISPLAY
       (SET,SHOW) TERMINAL
       (SET,CANCEL) WINDOW
       SHOW SELECT

34.4  –  Example

  DBG> SHOW WINDOW LH*,RH*
  window LH1 at (1,11,1,40)
  window LH12 at (1,23,1,40)
  window LH2 at (13,11,1,40)
  window RH1 at (1,11,42,39)
  window RH12 at (1,23,42,39)
  window RH2 at (13,11,42,39)
  DBG>

      This command displays the name and screen position of all
      screen window definitions whose names start with LH or RH.
Close Help