Library /sys$common/syshlp/DBG$HELP.HLB  —  DEBUG  SHOW  THREAD  Examples
    1.DBG> SHOW EVENT_FACILITY
      event facility is ADA

           . . .
      DBG> SHOW TASK/ALL
        task id   pri hold state   substate        task object
      * %TASK 1    7       RUN                   122624
        %TASK 2    7  HOLD SUSP  Accept          H4.MONITOR
        %TASK 3    6       READY Entry call      H4.CHECK_IN
      DBG>

      In this example, the SHOW EVENT_FACILITY command identifies
      ADA as the current event facility. The SHOW TASK/ALL command
      provides basic information about all the tasks that were
      created through Ada services and currently exist. One line
      is devoted to each task. The active task is marked with an
      asterisk (*).  In this example, it is also the active task (the
      task that is in the RUN state).

    2.DBG> SHOW TASK %ACTIVE_TASK,3,MONITOR

      This command selects the active task, 3, and task MONITOR for
      display.

    3.DBG> SHOW TASK/PRIORITY=6

      This command selects all tasks with priority 6 for display.

    4.DBG> SHOW TASK/STATE=(RUN,SUSP)

      This command selects all tasks that are either running or
      suspended for display.

    5.DBG> SHOW TASK/STATE=SUSP/NOHOLD

      This command selects all tasks that are both suspended and not
      on hold for display.

    6.DBG> SHOW TASK/STATE=(RUN,SUSP)/PRIO=7 %VISIBLE_TASK, 3

      This command selects for display those tasks among the visible
      task and %TASK 3 that are in either the RUNNING or SUSPENDED
      state and have priority 7.
Close Help