/sys$common/syshlp/DBG$HELP.HLB  —  DEBUG  SHOW  SYMBOL  Examples
    1.DBG> SHOW SYMBOL I
      data FORARRAY\I
      DBG>

      This command shows that symbol I is defined in module FORARRAY
      and is a variable (data) rather than a routine.

    2.DBG> SHOW SYMBOL/ADDRESS INTARRAY1
      data FORARRAY\INTARRAY1
           descriptor address: 0009DE8B
      DBG>

      This command shows that symbol INTARRAY1 is defined in module
      FORARRAY and has a memory address of 0009DE8B.

    3.DBG> SHOW SYMBOL *PL*

      This command lists all the symbols whose names contain the
      string "PL".

    4.DBG> SHOW SYMBOL/TYPE COLOR
      data SCALARS\MAIN\COLOR
          enumeration type (primary, 3 elements), size: 4 bytes

      This command shows that the variable COLOR is an enumeration
      type.

    5.DBG> SHOW SYMBOL/TYPE/ADDRESS *

      This command displays all information about all symbols.

    6.DBG> SHOW SYMBOL * IN MOD3\COUNTER
          routine MOD3\COUNTER
          data MOD3\COUNTER\X
          data MOD3\COUNTER\Y
      DBG>

      This command lists all the symbols that are defined in the
      scope denoted by the path name MOD3\COUNTER.

    7.DBG> DEFINE/COMMAND SB=SET BREAK
      DBG> SHOW SYMBOL/DEFINED SB
      defined SB
          bound to: SET BREAK
          was defined /command
      DBG>

      In this example, the DEFINE/COMMAND command defines SB as
      a symbol for the SET BREAK command. The SHOW SYMBOL/DEFINED
      command displays that definition.
Close Help