DBG$HELP.HLB  —  DEBUG  SET  TASK  Examples
    1.DBG> SET TASK/ACTIVE %TASK 3

      (Event facility = ADA) This command makes task 3 (task ID = 3)
      the active task.

    2.DBG> PTHREAD tset -a 3

      (Event facility = THREADS) This command makes task 3 (task ID =
      3) the active task.

    3.DBG> SET TASK %NEXT_TASK

      This command makes the next task in the debugger's task list
      the visible task. (The /VISIBLE qualifier is a default for the
      SET TASK command.)

    4.DBG> SET TASK/HOLD/ALL
      DBG> SET TASK/ACTIVE %TASK 1
      DBG> GO
           . . .
      DBG> SET TASK/ACTIVE %TASK 3
      DBG> STEP
           . . .

      In this example, the SET TASK/HOLD/ALL command freezes
      the state of all tasks except the active task. Then, SET
      TASK/ACTIVE is used selectively (along with the GO and STEP
      commands) to observe the behavior of one or more specified
      tasks in isolation.
Close Help