Library /sys$common/syshlp/DBG$HELP.HLB  —  DEBUG  SHOW  MODULE  Examples
    1.DBG> SHOW MODULE
      module name           symbols   size

      TEST                  yes       432
      SCREEN_IO             no        280

      total PASCAL modules: 2.    bytes allocated: 2740.
      DBG>

      In this example, the SHOW MODULE command, without a parameter,
      displays information about all of the modules in the current
      image, which is the main image by default. This example shows
      the display format when all modules have the same source
      language. The symbols column shows that module TEST has been
      set, but module SCREEN_IO has not.

    2.DBG> SHOW MODULE FOO,MAIN,SUB*
      module name           symbols   language   size

      FOO                   yes       MACRO      432
      MAIN                  no        FORTRAN    280
      SUB1                  no        FORTRAN    164
      SUB2                  no        FORTRAN    204

      total modules: 4.     bytes allocated: 60720.
      DBG>

      In this example, the SHOW MODULE command displays information
      about the modules FOO and MAIN, and all modules having the
      prefix SUB. This example shows the display format when the
      modules do not have the same source language.

    3.DBG> SHOW MODULE/SHARE
      module name           symbols   language   size

      FOO                   yes       MACRO       432
      MAIN                  no        FORTRAN     280
           . . .
      SHARE$DEBUG           no        Image         0
      SHARE$LIBRTL          no        Image         0
      SHARE$MTHRTL          no        Image         0
      SHARE$SHARE1          no        Image         0
      SHARE$SHARE2          no        Image         0

      total modules: 17.     bytes allocated: 162280.
      DBG> SET MODULE SHARE$SHARE2
      DBG> SHOW SYMBOL * IN SHARE$SHARE2

      In this example, the SHOW MODULE/SHARE command identifies all
      of the modules in the current image and all of the shareable
      images (the names of the shareable images are prefixed with
      SHARE$. The SET MODULE SHARE$SHARE2 command sets the shareable
      image module SHARE$SHARE2. The SHOW SYMBOL command identifies
      any universal symbols defined in the shareable image SHARE2.
Close Help